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
/
property-main.cs
blob
a6cd8a0bdfa3d01cb00681fc73fdce4ebcc1f9ef
1
using
System
;
2
3
class
X
4
{
5
static int
Main
()
6
{
7
Bar bar
=
new
Bar
();
8
if
(
bar
.
Message
!=
"bar"
)
9
return
1
;
10
11
Foo foo
=
new
Foo
();
12
if
(
foo
.
Message
!=
"foo"
)
13
return
2
;
14
15
C c
=
new
C
();
16
c
.
get_Value
();
17
c
.
add_Arg
(
false
);
18
19
Console
.
WriteLine
(
"Test ok"
);
20
return
0
;
21
}
22
}