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

cs0558.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 92f066ef496668cf73e7980b2ac226f601ff8684 (plain)
1
2
3
4
5
6
7
8
// cs0558.cs: User-defined operator 'SampleClass.implicit operator bool(SampleClass)' must be declared static and public
// Line: 5

class SampleClass {
        static implicit operator bool (SampleClass value) {
                return true;
        }
}