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
Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git]
/
mcs
/
errors
/
cs0557-2.cs
blob
5f17896e9f16b2be17d98eb8e3cbc5ade142b2ec
1
// CS0557: Duplicate user-defined conversion in type `C'
2
// Line: 9
3
class
C
{
4
public static bool operator
!= (
C a
,
C b
)
5
{
6
return true
;
7
}
8
9
public static bool operator
!= (
C a
,
C b
)
10
{
11
return true
;
12
}
13
14
public static bool operator
== (
C a
,
C b
)
15
{ return false; }
16
}
17
18
19
20
21
22
class
X
{
23
static void
Main
()
24
{
25
}
26
}