This is incorrect and also note that that isn't part of the spec, it is "informative text only".
Regards, Jeroen > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Holger Arnold > Sent: Monday, August 19, 2002 21:02 > To: [EMAIL PROTECTED] > Subject: Re: [Mono-list] mcs won't allow implementation of > interfaces with static methods > > > 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 > _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
