-// cs0562.cs: The parameter of a unary operator must be the containing type\r
-// Line: 5\r
-\r
-class SampleClass {\r
- public static SampleClass operator - (int value) {\r
- return new SampleClass();\r
- }\r
-}\r
+// CS0562: The parameter type of a unary operator must be the containing type
+// Line: 7
+
+class SampleClass {
+ public static SampleClass operator - (int value)
+ {
+ return new SampleClass();
+ }
+}