--- Jon Jagger <[EMAIL PROTECTED]> wrote:
> The ECMA C# specification says that you can overload based on ref/out
> parameters. Eg 10.6
>
> interface ITest
> {
> void F(ref int x);
> void F(out int x);
> }
>
> The Microsoft C# compiler used to allow this overload but now it doesn't.
> Does anyone know why Microsoft made it illegal? If there is a good reason
> (possibly related to the CLR) then perhaps the change should be made to
> the ECMA document too.
I believe it is illegal because other .Net languages do not differentiate between ref
and out.
Peter
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.