// 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;