[Mono.Unix] Fix crasher in StringToHeap (#5639)
[mono.git] / mcs / errors / cs0448.cs
1 // CS0448: The return type for ++ or -- operator must be the containing type or derived from the containing type
2 // Line: 5
3 class SampleClass {
4     public static int operator ++ (SampleClass value) {
5         return new SampleClass();        
6     }
7 }