bring Mono Security to monotouch
[mcs.git] / tests / test-127.cs
blob1ca2bed744955a4a01d565dddc69cc520bfc1841
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 static int Main ()
16 Test test = Test.A;
18 if (!Test.IsDefined (typeof (Test), test))
19 return 1;
21 return 0;