blob: 61440f816e3ff0f9efe87b521bba3a9aa988a9c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// CS3001: Argument type `sbyte' is not CLS-compliant
// Line: 9
// Compiler options: -warnaserror -warn:1
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();
}
}
|