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