summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0448.cs
blob: be222ef35da337112cc010a2451cef8928321d0d (plain)
1
2
3
4
5
6
7
// CS0448: The return type for ++ or -- operator must be the containing type or derived from the containing type
// Line: 5
class SampleClass {
    public static int operator ++ (SampleClass value) {
        return new SampleClass();        
    }
}