disable the building of mjs while I solve the problem with the unexposed ctr of Context
[mono.git] / mcs / mcs / tree.cs
old mode 100755 (executable)
new mode 100644 (file)
index 5aaea42..ad34237
@@ -111,8 +111,11 @@ namespace Mono.CSharp
        public class RootTypes : TypeContainer
        {
                public RootTypes ()
-                       : base (null, null, "", null, Kind.Root, new Location (-1))
-               { }
+                       : base (null, null, MemberName.Null, null, Kind.Root,
+                               new Location (-1))
+               {
+                       ec = new EmitContext (null, this, Location.Null, null, null, 0, false);
+               }
 
                public override void Register ()
                {
@@ -123,5 +126,11 @@ namespace Mono.CSharp
                {
                        throw new InvalidOperationException ();
                }
+
+               public override bool IsClsCompliaceRequired (DeclSpace ds)
+               {
+                       return true;
+               }
+
        }
 }