projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[amd64] Save missing register
[mono.git]
/
mcs
/
errors
/
cs0035.cs
1
// CS0035: Operator `-' is ambiguous on an operand of type `A'
2
// Line: 22
3
4
class A
5
{
6
public static implicit operator float(A x)
7
{
8
return 0;
9
}
10
11
public static implicit operator decimal(A x)
12
{
13
return 0;
14
}
15
}
16
17
class M
18
{
19
static void Main()
20
{
21
A a = new A ();
22
float f = -a;
23
}
24
}