[mscorlib] Marshal.GetExceptionForHR() takes an `errorInfo` parameter.
authorJonathan Pryor <jonpryor@vt.edu>
Tue, 4 Nov 2014 19:26:32 +0000 (14:26 -0500)
committerJonathan Pryor <jonpryor@vt.edu>
Tue, 4 Nov 2014 19:26:32 +0000 (14:26 -0500)
commitc84d28ca735a4f98cf92e4f589f58e9d66556d28
treee253ca08132e4137350b339dd9040d10eaaa0006
parentfc02486d6a8b6c29b177031b69ddddc43bccb91e
[mscorlib] Marshal.GetExceptionForHR() takes an `errorInfo` parameter.

Parameter names are part of the ABI because of C#4 named parameter.
Consequently, they *must* be consistent with .NET, and .NET a
parameter name of "errorInfo", *not* "errorInfoPtr" [0]:

public static Exception GetExceptionForHR(
int errorCode,
IntPtr errorInfo
)

Change the parameter name from `errorCodeInfo` to `errorCode` so that
the parameter name is consistent with .NET.

[0]: http://msdn.microsoft.com/en-us/library/3xade62s(v=vs.100).aspx
mcs/class/corlib/System.Runtime.InteropServices/Marshal.cs