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

cs3005-17.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d575af0f89a2b0a5782be9c71a1af51f2a93a366 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// cs3005-17.cs: Identifier `CLSClass.op_implicit()' differing only in case is not CLS-compliant
// Line: 12
// Compiler options: -warnaserror

using System;
[assembly:CLSCompliant(true)]

public class CLSClass {
        static public implicit operator CLSClass(byte value) {
               return new CLSClass();
        }
    
        public void op_implicit () {}
}