X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Ftests%2Fcls-test-5.cs;fp=mcs%2Ftests%2Fcls-test-5.cs;h=0000000000000000000000000000000000000000;hb=b0eff411fcc55fa6a7bbc5ee97bb592fe3204309;hp=ddd135d9547d5191542707e318d548764ef2adc4;hpb=403f701b50937526cbd7627a166f3c535cf4fafc;p=mono.git diff --git a/mcs/tests/cls-test-5.cs b/mcs/tests/cls-test-5.cs deleted file mode 100644 index ddd135d9547..00000000000 --- a/mcs/tests/cls-test-5.cs +++ /dev/null @@ -1,101 +0,0 @@ -using System; - -[assembly:CLSCompliant(true)] - -class X1 { - public bool AA; - internal bool aa; -} - -class X2: X1 { - public bool aA; -} - -public class X3 { - internal void bb(bool arg) {} - internal bool bB; - public void BB() {} -} - -class X4 { - public void method(int arg) {} - public void method(bool arg) {} - public bool method() { return false; } -} - - -public class BaseClass { - //protected internal bool mEthod() { return false; } -} - -public class CLSClass: BaseClass { - public CLSClass() {} - public CLSClass(int arg) {} - - //public int this[int index] { set {} } - //protected int this[bool index] { set {} } - - public bool setItem; - static public implicit operator CLSClass(bool value) { - return new CLSClass(2); - } - - static public implicit operator CLSClass(int value) { - return new CLSClass(2); - } - - [CLSCompliant(false)] - public void Method() {} - - internal int Method(bool arg) { return 1; } - internal void methoD() {} - - public static void Main() {} -} - -public class oBject: Object { -} - -namespace A { - public class C1 { - } -} - -namespace B { - public class c1 { - } -} - -public class c1 { -} -// Test -[System.CLSCompliant (false)] -public interface I1 { -} - -public interface i1 { -} - -// Test -enum AB { -} - -[CLSCompliant (false)] -public enum aB { -} - -public interface ab { -} - -// Test -public class CLSClass_2 { - [CLSCompliant (false)] - public void Method () {} - public void method () {} -} - -// Test -namespace System { - public class sByte { - } -} \ No newline at end of file