Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0221-9.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 91139cbf647dfc57f29433d521d47b966aa6dde2 (plain)
1
2
3
4
5
6
7
8
9
// cs0221-9.cs: Constant value `3.402823E+38' cannot be converted to a `ulong' (use `unchecked' syntax to override)
// Line: 6

class X {
	static void Main () {
		const float d = float.MaxValue;
		ulong b = (ulong) d;
	}
}