I consider the .cctor issue a bug (J#, another MS product, produces
interfaces with static initializers, these interfaces cannot be
implemented by C# code, because of the current behavior). The solution
John suggested (ignoring all static methods in interfaces), seems like a
good solution to me.

Regards,
Jeroen

> -----Original Message-----
> From: Discussion of the Rotor Shared Source CLI
> implementation [mailto:[EMAIL PROTECTED]] On
> Behalf Of David Stutz
> Sent: Thursday, August 15, 2002 00:24
> To: [EMAIL PROTECTED]
> Subject: Re: [DOTNET-ROTOR] C# compiler cannot handle
> interfaces with static methods
>
>
> Is this a feature request, or do you really consider this a serious C#
> bug? If yes, can you explain your rationale?
>
> -----Original Message-----
> From: Jeroen Frijters [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 13, 2002 11:40 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [DOTNET-ROTOR] C# compiler cannot handle interfaces with
> static methods
>
>
> Hi John,
>
> I know that static methods in interfaces are not CLS and that the C#
> language spec doesn't allow them. I have no problem with C# not being
> able to call static methods on interfaces, but I do have a
> problem with
> not being able to implement interfaces with static methods (in
> particular .cctor), that IMHO is a (serious) bug.
>
> Regards,
> Jeroen
>

Reply via email to