<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS3003</ErrorName>
  <Examples>
    <string>// CS3003: Type of `I.Foo' is not CLS-compliant
// Line: 10
// Compiler options: -warnaserror -warn:1

using System;
[assembly:CLSCompliant (true)]

[CLSCompliant (true)]
public interface I {
    uint Foo { set; }
}

</string>
    <string>// CS3003: Type of `I.this[bool]' is not CLS-compliant
// Line: 9
// Compiler options: -warnaserror -warn:1

using System;
[assembly:CLSCompliant(true)]

public interface I {
        ulong this[bool index] { get; }
}
</string>
    <string>// CS3003: Type of `CLSClass.Index' is not CLS-compliant
// Line: 9
// Compiler options: -warnaserror -warn:1

using System;
[assembly:CLSCompliant(true)]

public class CLSClass {
        public ulong Index {
            set
            {
            }
        }
}
</string>
    <string>// CS3003: Type of `S.test2' is not CLS-compliant
// Line: 11
// Compiler options: -unsafe -warnaserror -warn:1

using System;

[assembly: CLSCompliant (true)]

public unsafe struct S
{
    public fixed bool test2 [4];
}
</string>
    <string>// CS3003: Type of `C._data' is not CLS-compliant
// Line: 11
// Compiler options: -unsafe -warnaserror -warn:1

using System;

[assembly: CLSCompliant (true)]

public class C
{
	public unsafe byte* _data;
	public unsafe byte* GetData () { return _data; }
}
</string>
    <string>// CS3003: Type of `I.Error' is not CLS-compliant
// Line: 9
// Compiler options: -warnaserror -warn:1

using System;
[assembly:CLSCompliant(true)]

public interface I {
        UIntPtr Error { get; }
}
</string>
    <string>// CS3003: Type of `CLSClass.MyEvent' is not CLS-compliant
// Line: 8
// Compiler options: -warnaserror -warn:1

[assembly:System.CLSCompliant (true)]

[System.CLSCompliant (false)]
public delegate void MyDelegate ();

public class CLSClass {
        public event MyDelegate MyEvent;
}
</string>
    <string>// CS3003: Type of `CLSClass.value' is not CLS-compliant
// Line: 9
// Compiler options: -warnaserror -warn:1

using System;
[assembly:CLSCompliant(true)]

public class CLSClass {
        protected uint value;
}
</string>
  </Examples>
</ErrorDocumentation>