uint flags;
PEFileKinds pekind = PEFileKinds.Dll;
bool delay_sign;
+ uint access;
internal Type corlib_object_type = typeof (System.Object);
internal Type corlib_value_type = typeof (System.ValueType);
internal Type corlib_enum_type = typeof (System.Enum);
internal AssemblyBuilder (AssemblyName n, string directory, AssemblyBuilderAccess access) {
name = n.Name;
dir = directory;
+ this.access = (uint)access;
basic_init (this);
}
return getToken (this, helper);
}
+ internal bool IsSave {
+ get {
+ return access != (uint)AssemblyBuilderAccess.Run;
+ }
+ }
+
[MethodImplAttribute(MethodImplOptions.InternalCall)]
private static extern int getDataChunk (AssemblyBuilder ab, byte[] buf, int offset);
+2003-03-27 Zoltan Varga <vargaz@freemail.hu>
+
+ * AssemblyBuilder.cs: Added 'access' member, which is needed by the
+ runtime.
+
2003-03-26 Zoltan Varga <vargaz@freemail.hu>
* ILGenerator.cs: Implemented ThrowException.