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
2009-10-20 Jb Evain <jbevain@novell.com>
[mcs.git]
/
tests
/
test-24.cs
blob
e69a844c93d838be0c3fc274adece02d5703c0fa
1
//
2
// Properties intermixed in assignments
3
//
4
5
using
System
;
6
7
class
X
{
8
9
static string
v
;
10
11
static string
S
{
12
get
{
13
return
v
;
14
}
15
set
{
16
v
=
value
;
17
}
18
}
19
20
static string
x
,
b
;
21
22
static int
Main
()
23
{
24
25
x
=
S
=
b
=
"hlo"
;
26
if
(
x
!=
"hlo"
)
27
return
1
;
28
if
(
S
!=
"hlo"
)
29
return
2
;
30
if
(
b
!=
"hlo"
)
31
return
3
;
32
return
0
;
33
}
34
}
35