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
Warnings cleanup
[mcs.git]
/
errors
/
gcs0555.cs
blob
b82722b3e419b954ce4263d4d04973862ab01cd2
1
// CS0555: User-defined operator cannot take an object of the enclosing type and convert to an object of the enclosing type
2
// Line: 6
3
4
struct
S
5
{
6
public static implicit operator
S
(
S
?
s
)
7
{
8
return new
S
();
9
}
10
}