projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add some overloads from Alp, and fix some 1.4 signatures
[mono.git]
/
mcs
/
errors
/
cs0176-5.cs
1
// CS0176: Static member `MyEnum.Foo' cannot be accessed with an instance reference, qualify it with a type name instead
\r
2
// Line: 14
\r
3
\r
4
public enum MyEnum
\r
5
{
\r
6
Foo = 1
\r
7
}
\r
8
\r
9
public class Test
\r
10
{
\r
11
static void Main ()
\r
12
{
\r
13
MyEnum theEnum = MyEnum.Foo;
\r
14
if (theEnum == theEnum.Foo)
\r
15
{
\r
16
}
\r
17
}
\r
18
}
\r