a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
17 lines
407 B
C#
17 lines
407 B
C#
// 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();
|
|
}
|
|
}
|