projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Remove redundant file from Java build
[mono.git]
/
mcs
/
errors
/
cs0035.cs
1
// CS0035 : Operator `+' is ambiguous on operands of type `Y' and `X'
\r
2
// Line: 22
\r
3
\r
4
class A
\r
5
{
\r
6
public static implicit operator float(A x)
\r
7
{
\r
8
return 0;
\r
9
}
\r
10
\r
11
public static implicit operator decimal(A x)
\r
12
{
\r
13
return 0;
\r
14
}
\r
15
}
\r
16
\r
17
class M
\r
18
{
\r
19
static void Main()
\r
20
{
\r
21
A a = new A ();
\r
22
int i = -a;
\r
23
}
\r
24
}