Files
ILSpy/ICSharpCode.Decompiler.Tests
DualFroz 77a02d16fe Fix #4137: Keep nint in conditionals with mixed native int branches
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.
2026-10-10 13:50:52 +02:00
..
2026-10-06 07:35:36 +02:00
2026-09-21 18:40:40 +02:00