blob: ecba03e6e15215b45d8c56cada05d1a1e89a144c (
plain)
1
2
3
4
5
6
7
8
|
// cs0562.cs: The parameter of a unary operator must be the containing type
// Line: 5
class SampleClass {
public static SampleClass operator - (int value) {
return new SampleClass();
}
}
|