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
[corlib] Simplify RuntimeInformation by getting OS name from the runtime (#13164)
[mono-project.git]
/
mcs
/
errors
/
cs0034-4.cs
blob
8bea7a434e1fa85c34ddf2997a38d62fd303d1a8
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
}