[tuner] handle the case with multiple "preserve" attributes
[mono-project.git] / mcs / tests / test-127.cs
blob6d8495fa73a896b3d10b8176ba39d7cfce7ce2c5
1 //
2 // It is possible to invoke Enum methods on an enum type.
3 //
4 using System;
6 enum Test {
7 A,
8 B,
12 class X {
14 public static int Main ()
16 Test test = Test.A;
18 if (!Test.IsDefined (typeof (Test), test))
19 return 1;
21 return 0;