Merge branch 'xml-fixes' of https://github.com/myeisha/mono into myeisha-xml-fixes
[mono-project.git] / mcs / errors / cs0221-9.cs
blob959877e485ca1c8949a2d5a57bbd5c03610f92d9
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;