X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Ftests%2Ftest-cls-14.cs;h=94b6145964719ff51d9696e4bba4ae03ea0a847c;hb=03d3aa5e1d6857c7f682e02f571cb349f331ddf9;hp=4d408c56a21bc206cd38a3bd2691326df8d9cecb;hpb=dbf19eb41dbd299c4c33d4de35ffe3cf6c669832;p=mono.git diff --git a/mcs/tests/test-cls-14.cs b/mcs/tests/test-cls-14.cs index 4d408c56a21..94b61459647 100644 --- a/mcs/tests/test-cls-14.cs +++ b/mcs/tests/test-cls-14.cs @@ -1,17 +1,22 @@ +// Compiler options: -warnaserror + using System; +[assembly:CLSCompliant (true)] public class CLSClass { [CLSCompliant (false)] static public implicit operator CLSClass(byte value) { return new CLSClass(); } - + +#pragma warning disable 3019, 169 [CLSCompliant (true)] private void Error (bool arg) { } +#pragma warning restore 3019, 169 } public class MainClass { public static void Main () { } -} \ No newline at end of file +}