repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git]
/
mcs
/
errors
/
cs0572-3.cs
blob
675fd7dd6b6e4379525651a2767dd57658a3eb43
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
}