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
Merge pull request #1525 from akoeplinger/fix-dynamicdata-test
[mono-project.git]
/
mcs
/
errors
/
cs0019-70.cs
blob
a8a3787b6db76d82c574f05d29271c8d989528d9
1
// CS0019: Operator `&&' cannot be applied to operands of type `S?' and `S?'
2
// Line: 20
3
4
struct
S
5
{
6
public static
S
operator
& (
S s
,
S i
)
7
{
8
return
s
;
9
}
10
}
11
12
class
C
13
{
14
public static void
Main
()
15
{
16
S
?
s
=
new
S
();
17
S
?
s2
=
null
;
18
19
var
res
=
s
&&
s2
;
20
}
21
}