[utils] Add check for ANDROID_UNIFIED_HEADERS to mono-compiler.h (#5742)
[mono.git] / mcs / errors / cs3002-4.cs
index 72b98fde7024bcf13e4581016f83db595d049e47..bf793c11565f66d0bf2ed15f1aeda842614bb667 100644 (file)
@@ -1,13 +1,14 @@
-// cs3002.cs: Argument type 'CLSClass.Index' is not CLS-compliant
+// CS3002: Return type of `CLSClass.Foo()' is not CLS-compliant
 // Line: 10
+// Compiler options: -warnaserror -warn:1
 
 using System;
 [assembly:CLSCompliant(true)]
 
-public class CLSClass {
-        public ulong Index {
-            set
-            {
-            }
-        }
-}
\ No newline at end of file
+public class CLSClass
+{
+       protected ulong[] Foo()
+       {
+               return null;
+       }
+}