+Sat Jul 13 17:32:53 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+ * typemanager.cs: register also enum_type in corlib.
+
Sat Jul 13 15:59:47 CEST 2002 Paolo Molaro <lupus@ximian.com>
* class.cs: allow calling this (but not base) initializers in structs.
system_void_array_copyto_array_int = GetMethod (
system_array_type, "CopyTo", system_array_int_arg);
- Type [] system_type_type_arg = { system_type_type, system_type_type };
+ Type [] system_type_type_arg = { system_type_type, system_type_type, system_type_type };
system_void_set_corlib_type_builders = GetMethod (
system_assemblybuilder_type, "SetCorlibTypeBuilders",
system_type_type_arg);
- object[] args = new object [2];
+ object[] args = new object [3];
args [0] = object_type;
args [1] = value_type;
+ args [2] = enum_type;
system_void_set_corlib_type_builders.Invoke (CodeGen.AssemblyBuilder, args);
}