summaryrefslogtreecommitdiff
path: root/mcs/errors/cs3005-17.cs
blob: 409dc421fecdda6201ffe7567197de9a6d6dc0ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS3005: 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 () {}
}