[Mono-list] mcs won't allow implementation of interfaces with static methods
Mon, 19 Aug 2002 21:02:03 +0200
> > 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]".