projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2005-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git]
/
mcs
/
tests
/
test-386.cs
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
}