projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[w32file] Move MonoIO.Find{First,Next,Close} to managed
[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
2
// Line: 14
3
4
public enum MyEnum
5
{
6
Foo = 1
7
}
8
9
public class Test
10
{
11
static void Main ()
12
{
13
MyEnum theEnum = MyEnum.Foo;
14
if (theEnum == theEnum.Foo)
15
{
16
}
17
}
18
}