Browse Source

Add missing files.

pull/1347/head
Siegfried Pammer 7 years ago
parent
commit
64e1bb6f4d
  1. 11
      ICSharpCode.Decompiler.Tests/TestCases/ILPretty/Issue1323.cs
  2. 40
      ICSharpCode.Decompiler.Tests/TestCases/ILPretty/Issue1323.il

11
ICSharpCode.Decompiler.Tests/TestCases/ILPretty/Issue1323.cs

@ -0,0 +1,11 @@ @@ -0,0 +1,11 @@
public enum Enum0
{
// error: enumerator has no value
const_0,
// error: enumerator has no value
const_1,
// error: enumerator has no value
const_2,
// error: enumerator has no value
const_3
}

40
ICSharpCode.Decompiler.Tests/TestCases/ILPretty/Issue1323.il

@ -0,0 +1,40 @@ @@ -0,0 +1,40 @@
// Metadata version: v4.0.30319
.assembly extern mscorlib
{
.publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
.ver 4:0:0:0
}
.assembly extern System
{
.publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
.ver 4:0:0:0
}
.assembly extern System.Core
{
.publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
.ver 4:0:0:0
}
.assembly Issue1323
{
.ver 1:0:0:0
}
.module Issue1323.dll
// MVID: {B973FCD6-A9C4-48A9-8291-26DDC248E208}
.imagebase 0x00400000
.file alignment 0x00000200
.stackreserve 0x00100000
.subsystem 0x0003 // WINDOWS_CUI
.corflags 0x00020003 // ILONLY 32BITPREFERRED
// Image base: 0x000001C4B6C90000
.class public auto ansi sealed Enum0
extends [mscorlib]System.Enum
{
// Fields
.field public specialname rtspecialname int32 value__
.field public static literal valuetype Enum0 const_0
.field public static literal valuetype Enum0 const_1
.field public static literal valuetype Enum0 const_2
.field public static literal valuetype Enum0 const_3
} // end of class Enum0
Loading…
Cancel
Save