You've already forked linux-packaging-mono
Imported Upstream version 6.12.0.101
Former-commit-id: 86e5d3c0859336c41f589d3bcf96fcc6ecd603cd
This commit is contained in:
parent
77df3da300
commit
d7ffa4a239
6
external/ikvm/reflect/MethodSignature.cs
vendored
6
external/ikvm/reflect/MethodSignature.cs
vendored
@@ -146,7 +146,7 @@ namespace IKVM.Reflection
|
||||
System.Runtime.InteropServices.CallingConvention unmanagedCallingConvention = 0;
|
||||
bool unmanaged;
|
||||
byte flags = br.ReadByte();
|
||||
switch (flags & 7)
|
||||
switch (flags & 0xf)
|
||||
{
|
||||
case DEFAULT:
|
||||
callingConvention = CallingConventions.Standard;
|
||||
@@ -168,6 +168,10 @@ namespace IKVM.Reflection
|
||||
unmanagedCallingConvention = System.Runtime.InteropServices.CallingConvention.FastCall;
|
||||
unmanaged = true;
|
||||
break;
|
||||
case 0x09: // UNMANAGED
|
||||
unmanagedCallingConvention = (System.Runtime.InteropServices.CallingConvention)0x9;
|
||||
unmanaged = true;
|
||||
break;
|
||||
case VARARG:
|
||||
callingConvention = CallingConventions.VarArgs;
|
||||
unmanaged = false;
|
||||
|
||||
Reference in New Issue
Block a user