"System.ParamArrayAttribute",
"System.CLSCompliantAttribute",
"System.Security.UnverifiableCodeAttribute",
+ "System.Security.Permissions.SecurityAttribute",
"System.Runtime.CompilerServices.IndexerNameAttribute",
"System.Runtime.InteropServices.InAttribute",
"System.Runtime.InteropServices.StructLayoutAttribute",
"System.Runtime.InteropServices.FieldOffsetAttribute",
"System.InvalidOperationException",
"System.NotSupportedException",
- "System.MarshalByRefObject"
+ "System.MarshalByRefObject",
+ "System.Security.CodeAccessPermission"
};
// We must store them here before calling BootstrapCorlib_ResolveDelegate.
}
static TypeExpr NamespaceLookup (DeclSpace ds, string name,
- int num_type_args, bool silent, Location loc)
+ int num_type_args, Location loc)
{
//
// Try in the current namespace and all its implicit parents
//
for (NamespaceEntry ns = ds.NamespaceEntry; ns != null; ns = ns.ImplicitParent) {
- IAlias result = ns.Lookup (ds, name, num_type_args, false, silent, loc);
+ IAlias result = ns.Lookup (ds, name, num_type_args, false, loc);
if (result == null)
continue;
//
Type type = TypeManager.LookupType (current_type.FullName + "." + name);
if (type != null){
+ type = ds.ResolveNestedType (type, loc);
t = new TypeExpression (type, loc);
ds.Cache [name] = t;
return t;
containing_ds = containing_ds.Parent;
}
- t = NamespaceLookup (ds, name, num_type_params, silent, loc);
+ t = NamespaceLookup (ds, name, num_type_params, loc);
if (t != null){
ds.Cache [name] = t;
return t;
}
if (type_container_resolve_order != null) {
- foreach (TypeContainer tc in type_container_resolve_order)
- tc.EmitConstants ();
-
foreach (TypeContainer tc in type_container_resolve_order)
tc.EmitType ();
}