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-06-05 Jb Evain <jbevain@novell.com>
[mcs.git]
/
errors
/
cs0221-6.cs
blob
fe89c22270943882648630eb30d22f786185d8df
1
// cs0221-6.cs: Constant value `NaN' cannot be converted to a `int' (use `unchecked' syntax to override)
2
// Line: 6
3
4
class
X
{
5
static void
Main
() {
6
System
.
Console
.
WriteLine
((
int
)
double
.
NaN
);
7
}
8
}