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
Remove useless ip += from MINT_JMP, it is assigned later. (#19217)
[mono-project.git]
/
mcs
/
errors
/
cs0019-69.cs
blob
ed5d67e5bbcf266173ee116dfda0335035e89633
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
}