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
2009-10-22 Marek Safar <marek.safar@gmail.com>
[mcs.git]
/
errors
/
gcs0472.cs
blob
f76a1bcf8367ef0167fb14be3d73857e083276c5
1
// CS0472: The result of comparing value type `int' with null is `true'
2
// Line: 8
3
// Compiler options: -warnaserror -warn:2
4
5
public class
X
{
6
public static bool
Compute
(
int
x
)
7
{
8
return
x
!=
null
;
9
}
10
}