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-737.cs
blob
548fc61e9a6c3e7d646e1d632e30672c243df6ff
1
using
System
;
2
3
public struct
Breaks
4
{
5
private double
val
;
6
7
public double this
[
int
i
,
int
j
]
8
{
9
get
{ return val; }
10
set
{ val = value; }
11
}
12
13
public
Breaks
(
double
val
)
14
{
15
this
.
val
=
val
;
16
}
17
}
18
19
public class
Tester
20
{
21
public static int
Main
()
22
{
23
Breaks b
=
new
Breaks
(
3.0
);
24
b
[
0
,
0
] +=
3.0
;
25
if
(
b
[
0
,
0
] !=
6.0
)
26
return
1
;
27
28
return
0
;
29
}
30
}