Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Before creating `CallRegisterMethodByIndex` body. In some builds there was `bool` variable already defined, while in CI builds there was none. Thus clear the collection, add our `int?` variable and use it. Newly generated IL looks like: .method private hidebysig static bool CallRegisterMethodByIndex([Java.Interop]Java.Interop.JniNativeMethodRegistrationArguments arguments, [mscorlib]System.Nullable`1<int32> typeIdx) cil managed { // Code size 9285 (0x2445) .maxstack 2 .locals init ([mscorlib]System.Nullable`1<int32> V_0) IL_0000: ldarg.1 IL_0001: stloc.0 IL_0002: ldloca.s V_0 IL_0004: call instance !0 [mscorlib]System.Nullable`1<int32>::GetValueOrDefault() IL_0009: switch ( ...
- Loading branch information