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: 919ea1c9e8ced097212b46804060d1ecaf2ac679 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// cs3001-6.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();
        }
}