projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2005-07-24 Atsushi Enomoto <atsushi@ximian.com>
[mono.git]
/
mcs
/
tests
/
test-127.cs
1
//
2
// It is possible to invoke Enum methods on an enum type.
3
//
4
using System;
5
6
enum Test {
7
A,
8
B,
9
C
10
}
11
12
class X {
13
14
static int Main ()
15
{
16
Test test = Test.A;
17
18
if (!Test.IsDefined (typeof (Test), test))
19
return 1;
20
21
return 0;
22
}
23
}