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
[System] Add reflection dependency tracking
[mono-project.git]
/
mcs
/
tests
/
gtest-exmethod-36.cs
blob
6f5ff146a15c49f3d3be23b3e2fd605150ba3e32
1
using
System
;
2
3
class
S
4
{
5
public string
Prop { get { return "5"; }
}
6
}
7
8
class
S2
9
{
10
public bool
Prop
;
11
}
12
13
static class
E
14
{
15
public static int
Prop
(
this
S s
)
16
{
17
return
8
;
18
}
19
20
public static int
Prop
(
this
S2 s
)
21
{
22
return
18
;
23
}
24
}
25
26
class
C
27
{
28
public static void
Main
()
29
{
30
S s
=
new
S
();
31
int
b
=
s
.
Prop
();
32
string
bb
=
s
.
Prop
;
33
34
S2 s2
=
new
S2
();
35
int
b2
=
s2
.
Prop
();
36
bool
bb2
=
s2
.
Prop
;
37
}
38
}