[Mono-dev] Parameter names and class status
Kornél Pál
kornelpal at gmail.com
Fri Oct 20 07:16:08 EDT 2006
Hi,
> Would you please post a link to the docs stating that parameter names
> are part of the API contract?
I have no idea whether there are such docs but the names of parameters
definitely make sense.
There are languages (Visual Basic .NET for example) that supports named
anguments when calling a method so difference in the actual parameter name
will cause compilation error or even worse; wrong arguments being passed by
the compiler when parameter names are inverted, so this is an important
difference in the API. Note that run time problems can only occur if you use
reflection:
http://windowssdk.msdn.microsoft.com/en-us/library/51wfzyw0(VS.80).aspx
Kornél
More information about the Mono-devel-list
mailing list