projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[corlib] Use temp directory for assemblies in SaveTest.Save() (#5727)
[mono.git]
/
mcs
/
errors
/
cs0034-4.cs
1
// CS0034: Operator `==' is ambiguous on operands of type `A' and `A'
2
// Line: 36
3
4
using System;
5
6
struct A
7
{
8
public static implicit operator string (A c)
9
{
10
return null;
11
}
12
13
public static implicit operator Delegate (A c)
14
{
15
return null;
16
}
17
}
18
19
20
class Program
21
{
22
public static void Main ()
23
{
24
bool b = new A () == new A ();
25
}
26
}