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
2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
tests
/
test-639.cs
blob
4d4587dc36f7221b02c503ce500ba3282dc659ba
1
class
Foo
{
2
bool
got
;
3
string
s
{
4
get
{ got = true; return ""; }
5
set
{ if (!got || value != "A1B2") throw new System.Exception (); }
6
}
7
8
static void
Main
()
9
{
10
(
new
Foo
()).
s
+=
"A"
+
1
+
"B"
+
2
;
11
}
12
}