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