blob: dc57cfb3108e8f7ff1d3bceb86c670ebc1f54279 (
plain)
1
2
3
4
5
6
7
8
9
|
// 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();
}
}
|