repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* ResolvedReference.cs (.ctor): Set 'OriginalItemSpec' and 'ResolvedFrom',
[mcs.git]
/
tests
/
test-537.cs
blob
e0128cc6819722ecb74780e8b1ef90de5f82946c
1
using
System
;
2
class
Base
3
{
4
protected string
H
{
5
get
{
6
return
"Base.H"
;
7
}
8
}
9
}
10
11
// #1
12
class
X
{
13
class
Derived
:
Base
14
{
15
public class
Nested
:
Base
16
{
17
public void
G
() {
18
Derived
[]
d
=
new
Derived
[
0
];
19
Console
.
WriteLine
(
d
[
0
].
H
);
20
}
21
}
22
}
23
}
24
25
// #2
26
class
Derived
:
Base
27
{
28
public class
Nested
:
Base
29
{
30
public void
G
() {
31
Derived d
=
new
Derived
();
32
Console
.
WriteLine
(
d
.
H
);
33
}
34
}
35
}
36
37
38
class
Test
39
{
40
static void
Main
()
41
{
42
}
43
}