* cls-test-{2,5,6}.cs: Improved tests for CLS-compliant
svn path=/trunk/mcs/; revision=23161
+2004-02-17 Marek Safar <marek.safar@seznam.cz>
+
+ * cls-test-{2,5,6}.cs: Improved tests for CLS-compliant
+
2004-02-16 Marek Safar <marek.safar@seznam.cz>
* test-230.cs: test for module attributes.
public static void Main() {
}
+}
+public class InnerTypeClasss {
+ public struct Struct {
+ }
+
+ public Struct Method () {
+ return new Struct ();
+ }
}
\ No newline at end of file
}
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
public delegate uint MyDelegate();
public static void Main() {}
-}
\ No newline at end of file
+}
+public class CLSClass_2 {
+ [CLSCompliant (false)]
+ public CLSClass_2(int[,,] b) {
+ }
+
+ public CLSClass_2(int[,] b) {
+ }
+
+}