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
Add support for ToolsVersion and correctly build msbuild+xbuild assemblies
[mcs.git]
/
errors
/
gcs0472-3.cs
blob
71f146c517eccd2e4be9e3298a6b71e431060ecb
1
// CS0472: The result of comparing value type `int' with null is `true'
2
// Line: 9
3
// Compiler options: -warnaserror -warn:2
4
5
public class
X
6
{
7
public static void
Compute
(
int
x
)
8
{
9
if
(
true
&&
x
!=
null
)
10
return
;
11
}
12
}