2009-02-16 Jb Evain <jbevain@novell.com>
[mcs.git] / tests / test-cls-06.cs
blobc1ab9addaffb9c8729d8f104079e9e11527ccc2e
1 using System;
3 [assembly:CLSCompliant(true)]
5 [CLSCompliant(false)]
6 public delegate uint MyDelegate();
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;
20 [CLSCompliant(false)]
21 internal interface I {
22 [CLSCompliant(false)]
23 void Foo();
25 [CLSCompliant(true)]
26 ulong this[int indexA] { set; }
29 interface I2 {
30 int Test(int arg1, bool arg2);
33 public class CLSClass {
34 [CLSCompliant(false)]
35 public delegate uint MyDelegate();
37 public static void Main() {}
39 public class CLSClass_2 {
40 [CLSCompliant (false)]
41 public CLSClass_2(int[,,] b) {
44 public CLSClass_2(int[,] b) {
47 public void Test (int[,] b, int i) {}
48 public void Test (int[,,] b, bool b2) {}
51 public class X1 {
52 [CLSCompliant (false)]
53 public void M2 (int i) {}
56 public class X2: X1 {
57 public void M2 (ref int i) {}