<?xml version="1.0" encoding="iso-8859-1"?>
<ErrorDocumentation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ErrorName>CS3002</ErrorName>
  <Examples>
    <string>// cs3002-2.cs: Return type of 'CLSClass.Foo()' is not CLS-compliant
// Line: 13

using System;
[assembly:CLSCompliant(true)]

[CLSCompliant(false)]
public interface I1 {
}

public class CLSClass {
        protected internal I1 Foo() {
                return null;
        }
       
        static void Main() {}
}</string>
    <string>// cs3002.cs: Return type of 'I.Error()' is not CLS-compliant
// Line: 8

[assembly:System.CLSCompliant(true)]

public interface I 
{
       ulong Error();
}</string>
    <string>// cs3002-2.cs: Return type of 'CLSClass.Foo()' is not CLS-compliant
// Line: 13

using System;
[assembly:CLSCompliant(true)]

public class CLSClass {
        [CLSCompliant(false)]
        public ulong Valid() {
                return 1;
        }
    
        protected internal ulong Foo() {
                return 1;
        }
       
        static void Main() {}
}</string>
    <string>// cs3002.cs: Return type of 'CLSClass.MyDelegate' is not CLS-compliant
// Line: 8

using System;
[assembly:CLSCompliant(true)]

public class CLSClass {
        public delegate uint MyDelegate();
}</string>
    <string>// cs3002.cs: Argument type 'CLSClass.Index' is not CLS-compliant
// Line: 10

using System;
[assembly:CLSCompliant(true)]

public class CLSClass {
        public ulong Index {
            set
            {
            }
        }
}</string>
    <string>// cs3002.cs: Argument type 'CLSClass.Test1()' is not CLS-compliant
// Line: 11

using System;
[assembly:CLSCompliant(true)]

[CLSCompliant(false)]
public interface I {}

public class C {}

public class CLSClass {
        public I Test1() { return null; } 
	public C Test2() { return null; }
}
</string>
    <string>// 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();
}</string>
    <string>// cs3002-7.cs: Return type of 'I.Error' is not CLS-compliant
// Line: 8

using System;
[assembly:CLSCompliant(true)]

public interface I {
        UIntPtr Error { get; }
}</string>
    <string>// cs3002-8.cs: Return type of 'I.Error' is not CLS-compliant
// Line: 8

using System;
[assembly:CLSCompliant(true)]

public interface I {
        ulong this[bool index] { get; }
}
</string>
    <string>// cs3002.cs: Return type of 'Delegate' is not CLS-compliant
// Line: 7

using System;
[assembly:CLSCompliant(true)]

public delegate CLSDelegate Delegate ();
    
[Serializable]
[CLSCompliant (false)]
public class CLSDelegate {
}</string>
    <string>// cs3002.cs: Return type of 'CLSClass.Foo()' is not CLS-compliant
// Line: 12

using System;
[assembly:CLSCompliant(true)]

public class CLSClass {
        private ulong Valid() {
                return 1;
        }
    
        protected ulong Foo() {
                return 1;
        }
}</string>
  </Examples>
</ErrorDocumentation>