**** Merged from MCS ****
[mono-project.git] / mcs / tests / cls-test-6.cs
blob497c9d51e392f88004776f6e7411ea092c073d39
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) {
49 public class X1 {
50 [CLSCompliant (false)]
51 public void M2 (int i) {}
54 public class X2: X1 {
55 public void M2 (ref int i) {}