Skip to content
Permalink
Browse files

Add uint{size} aliases used by ildasm.

  • Loading branch information...
siegfriedpammer committed Sep 1, 2019
1 parent 9251e0c commit ad550fe675248c5dd0ebbb4e719b0f81eb8b7f41
Showing with 7 additions and 1 deletion.
  1. +3 −1 ICSharpCode.Decompiler/Metadata/OperandType.cs
  2. +4 −0 ILSpy/TextView/ILAsm-Mode.xshd
@@ -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"
);
}

@@ -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>

0 comments on commit ad550fe

Please sign in to comment.
You can’t perform that action at this time.