update readme (#21797)
[mono-project.git] / mcs / errors / cs3001-6.cs
blob61440f816e3ff0f9efe87b521bba3a9aa988a9c7
1 // CS3001: Argument type `sbyte' is not CLS-compliant
2 // Line: 9
3 // Compiler options: -warnaserror -warn:1
5 using System;
6 [assembly:CLSCompliant(true)]
8 public class CLSClass {
9 static public implicit operator CLSClass(byte value) {
10 return new CLSClass();
13 static public implicit operator CLSClass(sbyte value) {
14 return new CLSClass();