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
update readme (#21797)
[mono-project.git]
/
mcs
/
tests
/
test-629.cs
blob
98b7194e629e11f98ef12fbffa9ebb919840c500
1
public class
Foo
2
{
3
public static class
Nested
4
{
5
public static int
Bar
{
6
get
{
7
// bar should be referring to Foo.Nested.bar here
8
return
bar
.
value
;
9
}
10
}
11
12
static class
bar
{
13
// The desired
14
public const int value
=
3
;
15
}
16
}
17
18
// The undesired
19
int
bar
;
20
21
public static void
Main
()
22
{
23
}
24
}