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
[System.Data] Try to fix random DataViewTest.DefaultColumnNameAddListChangedTest...
[mono-project.git]
/
mcs
/
errors
/
cs0557-3.cs
blob
68f17dd55903e4c790f6b655f4c85fc477bae5e8
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
}