Skip to content

Commit

Permalink
Add uint{size} aliases used by ildasm.
Browse files Browse the repository at this point in the history
  • Loading branch information
siegfriedpammer committed Sep 1, 2019
1 parent 9251e0c commit ad550fe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ICSharpCode.Decompiler/Metadata/OperandType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ static ILOpCodeExtensions()
"vararg", "variant", "vector", "virtual", "void", "wchar", "winapi", "with", "wrapper",

// These are not listed as keywords in spec, but ILAsm treats them as such
"property", "type", "flags", "callconv", "strict"
"property", "type", "flags", "callconv", "strict",
// ILDasm uses these keywords for unsigned integers
"uint8", "uint16", "uint32", "uint64"
);
}

Expand Down
4 changes: 4 additions & 0 deletions ILSpy/TextView/ILAsm-Mode.xshd
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,10 @@
<Word>int16</Word>
<Word>int32</Word>
<Word>int64</Word>
<Word>uint8</Word>
<Word>uint16</Word>
<Word>uint32</Word>
<Word>uint64</Word>
<Word>float</Word>
<Word>float32</Word>
<Word>float64</Word>
Expand Down

0 comments on commit ad550fe

Please sign in to comment.