repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2009-03-04 Astushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
errors
/
cs0557.cs
blob
9ebe72ae842b4a5dcf6fa3d8a72efc63388dbd84
1
// cs0557.cs: Duplicate user-defined conversion in type `SampleClass'
2
// Line: 5
3
4
class
SampleClass
{
5
public static implicit operator bool
(
SampleClass
value
) {
6
return true
;
7
}
8
9
public static implicit operator bool
(
SampleClass
value
) {
10
return true
;
11
}
12
}