2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs0221-11.cs
blob48ecc1aae144db6bce089fc8dfbed50099c36e7f
1 // CS0221: Constant value `-1' cannot be converted to a `char' (use `unchecked' syntax to override)
2 // Line: 10
4 class C
6 static void Main ()
8 unchecked {
9 checked {
10 const char c = (char) -1;