projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #409 from Alkarex/patch-1
[mono.git]
/
mcs
/
errors
/
cs0572-3.cs
1
// CS0572: `Inner': cannot reference a type through an expression. Consider using `Outer.Inner' instead
2
// Line: 18
3
4
public class Outer
5
{
6
public enum Inner
7
{
8
ONE,
9
TWO
10
}
11
}
12
13
public class C
14
{
15
public static bool Test ()
16
{
17
Outer outer = null;
18
return 0 == outer.Inner.ONE;
19
}
20
}