projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #907 from enricosada/era_names
[mono.git]
/
mcs
/
errors
/
cs0019-69.cs
1
// CS0019: Operator `==' cannot be applied to operands of type `S' and `S'
2
// Line: 22
3
4
struct S
5
{
6
public static implicit operator E (S s)
7
{
8
return 0;
9
}
10
}
11
12
public enum E
13
{
14
}
15
16
class C
17
{
18
public static void Main ()
19
{
20
S s;
21
S s2;
22
var x = s == s2;
23
}
24
}