disable the building of mjs while I solve the problem with the unexposed ctr of Context
[mono.git] / mcs / mcs / modifiers.cs
old mode 100755 (executable)
new mode 100644 (file)
index 7a39a06..922d67d
@@ -112,7 +112,7 @@ namespace Mono.CSharp {
                        // If we do not have static constructors, static methods
                        // can be invoked without initializing the type.
                        if (!caller.UserDefinedStaticConstructor &&
-                           !(caller is Interface))
+                           (caller.Kind != Kind.Interface))
                                t |= TypeAttributes.BeforeFieldInit;
                                
                        return t;