+++ /dev/null
--// cs3002-6.cs: Return type of `I.Error()' is not CLS-compliant
--// Line: 10
--
--using System;
--[assembly:CLSCompliant(true)]
--
--[CLSCompliant(false)]
--public interface I {
-- [CLSCompliant(true)]
-- ulong[] Error();
--}
+++ /dev/null
--// cs3014-1.cs: `C.Error(bool)' cannot be marked as CLS-compliant because the assembly is not marked as CLS-compliant
--// Line: 8
--
--using System;
--[assembly:CLSCompliant (false)]
--
--public class C {
-- [CLSCompliant (true)]
-- protected void Error (bool arg) {}
--
--}
+++ /dev/null
--// cs3014-6.cs: `C.field' cannot be marked as CLS-compliant because the assembly is not marked as CLS-compliant
--// Line: 8
--
--using System;
--[assembly:CLSCompliant (false)]
--
--public class C {
-- [CLSCompliant (true)]
-- public long field;
--}
// cs3018-2.cs: `C1.I2' cannot be marked as CLS-compliant because it is a member of non CLS-compliant type `C1'
--// Line: 10
++// Line: 12
++// Compiler options: -warnaserror -warn:1
using System;
[assembly: CLSCompliant (true)]
--// cs3018-2.cs: `C1.I2' cannot be marked as CLS-compliant because it is a member of non CLS-compliant type `C1'\r
++// CS3018: `C1.I2' cannot be marked as CLS-compliant because it is a member of non CLS-compliant type `C1'\r
// Line: 10\r
++// Compiler options: -warnaserror -warn:1\r
\r
using System;\r
[assembly: CLSCompliant (true)]\r
--- /dev/null
--- /dev/null
++// CS3018: `C.Error(bool)' cannot be marked as CLS-compliant because it is a member of non CLS-compliant type `C'
++// Line: 10
++// Compiler options: -warnaserror -warn:1
++
++using System;
++[assembly:CLSCompliant (false)]
++
++public class C {
++ [CLSCompliant (true)]
++ protected void Error (bool arg) {}
++}
--- /dev/null
--- /dev/null
++// CS3018: `C.field' cannot be marked as CLS-compliant because it is a member of non CLS-compliant type `C'
++// Line: 10
++// Compiler options: -warnaserror -warn:1
++
++using System;
++[assembly:CLSCompliant (false)]
++
++public class C {
++ [CLSCompliant (true)]
++ public long field;
++}
--- /dev/null
--- /dev/null
++// CS3018: `I.Error()' cannot be marked as CLS-compliant because it is a member of non CLS-compliant type `I'
++// Line: 11
++// Compiler options: -warnaserror -warn:1
++
++using System;
++[assembly:CLSCompliant(true)]
++
++[CLSCompliant(false)]
++public interface I {
++ [CLSCompliant(true)]
++ ulong[] Error();
++}
// cs3018.cs: `NotCompliant.Compliant' cannot be marked as CLS-compliant because it is a member of non CLS-compliant type `NotCompliant'
--// Line: 9
++// Line: 12
++// Compiler options: -warnaserror -warn:1
using System;
[assembly: CLSCompliant (true)]