public static string StrongNameKeyContainer;
public static bool StrongNameDelaySign;
+ public static bool BrokenCircularDeps;
//
// If set, enable XML documentation generation
//
TypeContainer root = Tree.Types;
TypeManager.object_type = BootstrapCorlib_ResolveClass (root, "System.Object");
+ TypeManager.system_object_expr.Type = TypeManager.object_type;
TypeManager.value_type = BootstrapCorlib_ResolveClass (root, "System.ValueType");
+ TypeManager.system_valuetype_expr.Type = TypeManager.value_type;
TypeManager.attribute_type = BootstrapCorlib_ResolveClass (root, "System.Attribute");
TypeManager.indexer_name_type = BootstrapCorlib_ResolveClass (root, "System.Runtime.CompilerServices.IndexerNameAttribute");
// Generic types
//
"System.Collections.Generic.IEnumerator`1",
- "System.Collections.Generic.IEnumerable`1",
- "System.INullableValue"
+ "System.Collections.Generic.IEnumerable`1"
};
foreach (string iname in interfaces_first_stage)
"System.Runtime.InteropServices.DllImportAttribute",
"System.Runtime.CompilerServices.MethodImplAttribute",
"System.Runtime.InteropServices.MarshalAsAttribute",
- "System.Runtime.CompilerServices.NewConstraintAttribute",
"System.Runtime.CompilerServices.CompilerGeneratedAttribute",
"System.Runtime.CompilerServices.FixedBufferAttribute",
"System.Diagnostics.ConditionalAttribute",
{
DeclSpace ds = (DeclSpace) root.GetDefinition (name);
- ds.DefineMembers (root);
+ ds.DefineMembers ();
ds.Define ();
}
if (type_container_resolve_order != null){
foreach (TypeContainer tc in type_container_resolve_order)
tc.ResolveType ();
- if (RootContext.StdLib){
- foreach (TypeContainer tc in type_container_resolve_order)
- tc.DefineMembers (root);
-
- } else {
- foreach (TypeContainer tc in type_container_resolve_order) {
- // When compiling corlib, these types have already been
- // populated from BootCorlib_PopulateCoreTypes ().
- if (((tc.Name == "System.Object") ||
- (tc.Name == "System.Attribute") ||
- (tc.Name == "System.ValueType") ||
- (tc.Name == "System.Runtime.CompilerServices.IndexerNameAttribute")))
- continue;
-
- tc.DefineMembers (root);
- }
- }
+ foreach (TypeContainer tc in type_container_resolve_order)
+ tc.DefineMembers ();
}
ArrayList delegates = root.Delegates;
if (delegates != null){
foreach (Delegate d in delegates)
- d.DefineMembers (root);
+ d.DefineMembers ();
}
ArrayList enums = root.Enums;
if (enums != null){
foreach (Enum en in enums)
- en.DefineMembers (root);
+ en.DefineMembers ();
}
//