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
* TextBoxBase.cs: You can still change the selected text on a
[mono-project.git]
/
mcs
/
tests
/
test-386.cs
blob
0a95d45b47e3184fca0c3d2ac22041127cc32b6b
1
using
System
;
2
3
class
SuperDecimal
{
4
private
Decimal val
;
5
6
public
SuperDecimal
(
Decimal val
)
7
{
8
this
.
val
=
val
;
9
}
10
11
public static implicit operator
SuperDecimal
(
Decimal val
)
12
{
13
return new
SuperDecimal
(
val
);
14
}
15
16
public static void
Main
()
17
{
18
int
i
=
2
;
19
SuperDecimal sd
=
i
;
20
}
21
}