We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45749ff commit 20f34c9Copy full SHA for 20f34c9
1 file changed
Editor/MethodBridge/Generator.cs
@@ -569,7 +569,7 @@ private List<CalliMethodInfo> BuildCalliMethods(List<RawCalliMethodSignatureInfo
569
sharedMethod.Init();
570
sharedMethod = ToIsomorphicMethod(sharedMethod);
571
572
- CallingConvention callingConv = (CallingConvention)(method.MethodSig.CallingConvention);
+ CallingConvention callingConv = (CallingConvention)((int)method.MethodSig.CallingConvention + 1);
573
string signature = MakeCalliSignature(sharedMethod, callingConv);
574
575
if (!methodsBySig.TryGetValue(signature, out var arm))
0 commit comments