1 // Compiler options: -warnaserror
5 [assembly
:CLSCompliant(true)]
8 public delegate uint MyDelegate();
11 public interface IFake
{
12 #pragma warning disable 3018
15 #pragma warning disable 3018
19 //[CLSCompliant(false)]
20 //sbyte this[ulong I] { set; }
22 event MyDelegate MyEvent
;
25 #pragma warning disable 3019
27 internal interface I
{
32 ulong this[int indexA
] { set; }
34 #pragma warning restore 3019
37 int Test(int arg1
, bool arg2
);
40 public class CLSClass
{
42 public delegate uint MyDelegate();
44 public static void Main() {}
46 public class CLSClass_2
{
47 [CLSCompliant (false)]
48 public CLSClass_2(int[,,] b
) {
51 public CLSClass_2(int[,] b
) {
54 public void Test (int[,] b
, int i
) {}
55 public void Test (int[,,] b
, bool b2
) {}
59 [CLSCompliant (false)]
60 public void M2 (int i
) {}
64 public void M2 (ref int i
) {}