Hello,

> > static methods are not allowed on interfaces
>
> This is not allowed in C# but actually allowed in metadata.
> See Part II, 11 Semantics of Interfaces
> "Interfaces may have static fields and methods, but they shall not have
> instance fields or methods."

But, rule 193 in Part II, 21.24 Method Table says: "Interfaces can only own 
virtual methods (not static or instance methods). So, if this method is owned 
by an interface, Flags.Static shall be clear [ERROR]".

Holger


_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to