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] Fall back to old implementation when calling on proxy
[mono-project.git]
/
mcs
/
tests
/
test-ref-02.cs
blob
9adf471576e56a10f29e8dee0c1feba07b7636fe
1
using
System
;
2
3
class
X
4
{
5
int
field
;
6
7
static void
Main
()
8
{
9
var
x
=
new
X
();
10
x
.
Run
();
11
}
12
13
void
Run
()
14
{
15
Test
(
ref this
[
0
]);
16
Test
(
ref
Prop
);
17
}
18
19
static int
Test
(
ref int
y
)
20
{
21
return
y
;
22
}
23
24
ref int this
[
int
y
] {
25
get
{
26
return ref
field
;
27
}
28
}
29
30
ref int
Prop
{
31
get
{
32
return ref
field
;
33
}
34
}
35
}