repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
retag
[mcs.git]
/
errors
/
cs0019-34.cs
blob
de0a2eeb024040839e79308cf296910c5d2e2672
1
// CS0019: Operator `==' cannot be applied to operands of type `int' and `null'
2
// Line: 10
3
// Compiler options: -langversion:ISO-1
4
5
class
C
6
{
7
static int
Foo { get { return 3; }
set
{} }
8
9
static void
Main
()
10
{
11
if
(
Foo
==
null
) {}
12
}
13
}