Files
ILSpy/ICSharpCode.Decompiler/Disassembler
Siegfried Pammer 0879e35c08 Show the hexadecimal form of negative ldc.i4/ldc.i8 operands
A negative constant operand is usually the two's-complement rendering
of a bit mask or a high unsigned value (an enum member, a sentinel);
the IL view now appends the hexadecimal form as a comment, e.g.
'ldc.i4 -501 // 0xfffffe0b' (#1142). The short forms stay bare: their
operand range is readable as-is. The disassembler round-trip comparer
strips comments, so the new NegativeConstants case pins the rendering
with explicit content asserts.

Assisted-by: Claude:claude-fable-5:Claude Code
2026-08-15 18:57:38 +02:00
..
2025-12-21 13:47:18 +01:00