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
[bcl] Update BCL Linked Size
[mono-project.git]
/
mcs
/
errors
/
cs0019-62.cs
blob
b1f7cf9e09193e732e07e2888547774132cee2fa
1
// CS0019: Operator `==' cannot be applied to operands of type `int' and `S?'
2
// Line: 15
3
4
struct
S
5
{
6
public static bool operator
!=(
int
a
,
S s
)
{ return true; }
7
public static bool operator
==(
int
a
,
S s
)
{ return false; }
8
}
9
10
public class
C
11
{
12
public static void
Main
()
13
{
14
S
?
s
;
15
var
b
=
1
==
s
;
16
}
17
}