<?xml version="1.0" encoding="us-ascii"?>
<ErrorDocumentation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ErrorName>CS3018</ErrorName>
  <Examples>
    <string>// cs3018-2.cs: `C1.I2' cannot be marked as CLS-compliant because it is a member of non CLS-compliant type `C1'
// Line: 12
// Compiler options: -warnaserror -warn:1

using System;
[assembly: CLSCompliant (true)]

[CLSCompliant (false)]
public class C1
{
    [CLSCompliant (true)]
    public interface I2 {}
}
</string>
    <string>// CS3018: `C1.I2' cannot be marked as CLS-compliant because it is a member of non CLS-compliant type `C1'
// Line: 10
// Compiler options: -warnaserror -warn:1

using System;
[assembly: CLSCompliant (true)]

public partial class C1
{
    [CLSCompliant (true)]
    public interface I2 {}
}

[CLSCompliant (false)]
public partial class C1
{
}</string>
    <string>// 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) {}
}</string>
    <string>// 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;
}</string>
    <string>// 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();
}</string>
    <string>// cs3018.cs: `NotCompliant.Compliant' cannot be marked as CLS-compliant because it is a member of non CLS-compliant type `NotCompliant'
// Line: 12
// Compiler options: -warnaserror -warn:1

using System;
[assembly: CLSCompliant (true)]

[CLSCompliant (false)]
public class NotCompliant
{
		[CLSCompliant (true)]
		public class Compliant
		{
		}
}
</string>
  </Examples>
</ErrorDocumentation>