Browse Source

Add uint{size} aliases used by ildasm.

pull/1686/head
Siegfried Pammer 6 years ago
parent
commit
ad550fe675
  1. 4
      ICSharpCode.Decompiler/Metadata/OperandType.cs
  2. 4
      ILSpy/TextView/ILAsm-Mode.xshd

4
ICSharpCode.Decompiler/Metadata/OperandType.cs

@ -94,7 +94,9 @@ namespace ICSharpCode.Decompiler.Metadata @@ -94,7 +94,9 @@ namespace ICSharpCode.Decompiler.Metadata
"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"
);
}

4
ILSpy/TextView/ILAsm-Mode.xshd

@ -252,6 +252,10 @@ @@ -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>

Loading…
Cancel
Save