-// 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;
+ }
+}