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
[corlib] Simplify RuntimeInformation by getting OS name from the runtime (#13164)
[mono-project.git]
/
mcs
/
errors
/
cs0555-2.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
}