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-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
errors
/
cs0221-9.cs
blob
91139cbf647dfc57f29433d521d47b966aa6dde2
1
// cs0221-9.cs: Constant value `3.402823E+38' cannot be converted to a `ulong' (use `unchecked' syntax to override)
2
// Line: 6
3
4
class
X
{
5
static void
Main
() {
6
const float
d
=
float
.
MaxValue
;
7
ulong
b
= (
ulong
)
d
;
8
}
9
}