summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0559.cs
blob: a48efe69e6efda0bd4e097ed0fdb96b176b5391f (plain)
1
2
3
4
5
6
7
8
// CS0559: The parameter type for ++ or -- operator must be the containing type
// Line: 5

class SampleClass {
        public static SampleClass operator ++ (int value) {
                return new SampleClass();
        }
}