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

cs3001-6.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0ef4c502b16345e2647f8e71072a5be5c3bc13a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// cs3001.cs: Argument type 'sbyte' is not CLS-compliant
// Line: 8

using System;
[assembly:CLSCompliant(true)]

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