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
[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git]
/
mcs
/
errors
/
cs0472-4.cs
blob
9c99b3a446dcf9674e40961b5db21a2b37e57111
1
// CS0472: The result of comparing value type `long' with null is always `false'
2
// Line: 9
3
// Compiler options: -warnaserror -warn:2
4
5
class
C
6
{
7
public static void
Main
()
8
{
9
System
.
Console
.
WriteLine
(
5
== (
long
?)
null
);
10
}
11
}