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
2005-06-27 Geoff Norton <gnorton@customerdna.com>
[mono-project.git]
/
mcs
/
errors
/
cs0553.cs
blob
d0ea6f1e0a643b987213bef98126cfa8a8d450c6
1
// cs0553.cs: 'DerivedClass.implicit operator BaseClass(DerivedClass)' : user defined conversion to/from base class
2
// Line: 8
3
4
class
BaseClass
{
5
}
6
7
class
DerivedClass
:
BaseClass
{
8
public static implicit operator
BaseClass
(
DerivedClass
value
) {
9
return new
BaseClass
();
10
}
11
}
12
13