17 lines
407 B
C#
Raw Normal View History

// 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();
}
}