Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0562.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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();
        }
}