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
[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git]
/
mcs
/
errors
/
cs0472-3.cs
blob
c3f5ef3111e1f90a32d1cf672b81233fb7d59c4e
1
// CS0472: The result of comparing value type `int' with null is always `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
}