projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[mcs] Add new test
[mono.git]
/
mcs
/
errors
/
cs0557-3.cs
1
// CS0557: Duplicate user-defined conversion in type `Foo'
2
// Line: 5
3
4
public enum Bar
5
{
6
ABar
7
}
8
9
10
public class Foo
11
{
12
public static explicit operator Foo(Bar the_bar)
13
{
14
return new Foo();
15
}
16
public static implicit operator Foo(Bar the_bar)
17
{
18
return new Foo();
19
}
20
}