Switch to compiler-tester
[mono.git] /
1 using System;
2
3 [assembly:CLSCompliant(true)]
4
5 [CLSCompliant(false)]
6 public delegate uint MyDelegate();
7
8 [CLSCompliant(false)]
9 public interface IFake {
10         [CLSCompliant(true)]
11         long AA(long arg);
12         [CLSCompliant(false)]
13         ulong BB { get; }
14         //[CLSCompliant(false)]
15         //sbyte this[ulong I] { set; }
16         [CLSCompliant(false)]
17         event MyDelegate MyEvent;
18 }
19
20 [CLSCompliant(false)]
21 internal interface I {
22         [CLSCompliant(false)]
23         void Foo();
24
25         [CLSCompliant(true)]
26         ulong this[int indexA] { set; }
27 }
28
29 interface I2 {
30         int Test(int arg1, bool arg2);
31 }
32
33 public class CLSClass {
34         [CLSCompliant(false)]
35         public delegate uint MyDelegate();    
36     
37         public static void Main() {}
38 }
39 public class CLSClass_2 {
40     [CLSCompliant (false)]
41     public CLSClass_2(int[,,] b) {
42     }
43
44     public CLSClass_2(int[,] b) {
45     }
46
47     public void Test (int[,] b, int i) {}
48     public void Test (int[,,] b, bool b2) {}
49 }
50
51 public class X1 {
52     [CLSCompliant (false)]
53     public void M2 (int i) {}
54 }
55
56 public class X2: X1 {
57     public void M2 (ref int i) {}
58 }