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
2010-03-07 Rodrigo Kumpera <rkumpera@novell.com>
[mcs.git]
/
errors
/
cs0221-7.cs
blob
a061e603f778db568264eaf6acdd905e12da9dd2
1
// cs0221-7.cs: Constant value `-Infinity' cannot be converted to a `ushort' (use `unchecked' syntax to override)
2
// Line: 6
3
4
class
X
{
5
static void
Main
() {
6
System
.
Console
.
WriteLine
((
ushort
)
double
.
NegativeInfinity
);
7
}
8
}