-// CS0031: Constant value `42' cannot be converted to a `string'\r
-// Line: 5\r
-\r
-class A {\r
- public static implicit operator string (A a) { return 42; }\r
-}\r
+// CS0031: Constant value `1000M' cannot be converted to a `byte'
+// Line: 8
+
+class C
+{
+ public static void Main ()
+ {
+ const byte c = unchecked ((byte) 1000M);
+ }
+}
+