Author: marek
Date: 2007-08-26 07:09:27 -0400 (Sun, 26 Aug 2007)
New Revision: 84857
Added:
trunk/mcs/errors/cs3002-4.cs
trunk/mcs/errors/gcs3002.cs
Log:
New tests.
Added: trunk/mcs/errors/cs3002-4.cs
===================================================================
--- trunk/mcs/errors/cs3002-4.cs 2007-08-26 11:07:13 UTC (rev 84856)
+++ trunk/mcs/errors/cs3002-4.cs 2007-08-26 11:09:27 UTC (rev 84857)
@@ -0,0 +1,13 @@
+// CS3002: Return type of `CLSClass.Foo()' is not CLS-compliant
+// Line: 9
+
+using System;
+[assembly:CLSCompliant(true)]
+
+public class CLSClass
+{
+ protected ulong[] Foo()
+ {
+ return null;
+ }
+}
\ No newline at end of file
Property changes on: trunk/mcs/errors/cs3002-4.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added: trunk/mcs/errors/gcs3002.cs
===================================================================
--- trunk/mcs/errors/gcs3002.cs 2007-08-26 11:07:13 UTC (rev 84856)
+++ trunk/mcs/errors/gcs3002.cs 2007-08-26 11:09:27 UTC (rev 84857)
@@ -0,0 +1,13 @@
+// CS3002: Return type of `CLSClass.Foo()' is not CLS-compliant
+// Line: 9
+
+using System;
+[assembly:CLSCompliant(true)]
+
+public class CLSClass
+{
+ protected ulong? Foo()
+ {
+ return 5;
+ }
+}
Property changes on: trunk/mcs/errors/gcs3002.cs
___________________________________________________________________
Name: svn:eol-style
+ native
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches