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
/
dtest-014.cs
blob
7ca9d8f801d40dd14e1e08114d8fa7afdba0df1e
1
public class
C
2
{
3
public static decimal operator
-(
dynamic
p1
,
C p2
)
4
{
5
return
9
;
6
}
7
8
public static int
Main
()
9
{
10
var
c
=
new
C
();
11
var
v
=
1
-
c
;
12
13
if
(
v
!=
9
)
14
return
1
;
15
16
return
0
;
17
}
18
}