Jon, >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.
ref and out parameters are almost the same once compiled to IL. The only difference is that out parameters have an [out] marshaling flag applied to them (same as you get when using the System.Runtime.InteropServices.OutAttribute). For languages that don't care about the marshaling attributes (they are not considered part of the method signature), the methods would look identical. Mattias === Mattias Sjögren [EMAIL PROTECTED] You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.