999d3b48fab106f33049e34d6df18270c50d108b
When the branches of a conditional have different types, its type falls back to the IL stack slot type, which is (U)IntPtr. IntroduceNativeIntTypeOnLocals only retypes variables, so with native integers enabled the branches got cast to IntPtr. Map (U)IntPtr to n(u)int the same way boxing does; pointer types are unaffected.
Description
My contributions to icsharpcode/ILSpy: 16 commits, 3 merged PRs
202 KiB
0 Stars
1 Watchers
0 Forks
Languages
C#
99.9%