2001-12-18 Miguel de Icaza <miguel@ximian.com>
[mono.git] / mcs / mcs / enum.cs
index 223fd0a1e1f52231f056268921e0a5a97d225f16..7ccd46e11311120ebfd8c44dd7208756e9d72281 100755 (executable)
@@ -30,8 +30,6 @@ namespace Mono.CSharp {
                
                public Type UnderlyingType;
 
-               public readonly RootContext RootContext;
-
                Hashtable member_to_location;
 
                //
@@ -49,10 +47,9 @@ namespace Mono.CSharp {
                        Modifiers.INTERNAL |
                        Modifiers.PRIVATE;
 
-               public Enum (RootContext rc, string type, int mod_flags, string name, Attributes attrs, Location l)
+               public Enum (string type, int mod_flags, string name, Attributes attrs, Location l)
                        : base (name, l)
                {
-                       RootContext = rc;
                        this.BaseType = type;
                        this.EnumName = name;
                        this.mod_flags = Modifiers.Check (AllowedModifiers, mod_flags, Modifiers.PUBLIC);