<?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>CS3002</ErrorName>
  <Examples>
    <string>// CS3002: Return type of `CLSClass.Foo()' is not CLS-compliant
// Line: 13
// Compiler options: -warnaserror -warn:1

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: Return type of `I.Error()' is not CLS-compliant
// Line: 9
// Compiler options: -warnaserror -warn:1

[assembly:System.CLSCompliant(true)]

public interface I 
{
       ulong Error();
}
</string>
    <string>// 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
{
	protected ulong? Foo()
	{
		return 5;
	}
}
</string>
    <string>// CS3002: Return type of `CLSClass.Foo()' is not CLS-compliant
// Line: 14
// Compiler options: -warnaserror -warn:1

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: Return type of `CLSClass.MyDelegate' is not CLS-compliant
// Line: 9
// Compiler options: -warnaserror -warn:1

using System;
[assembly:CLSCompliant(true)]

public class CLSClass {
        public delegate uint MyDelegate();
}
</string>
    <string>// 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
{
	protected ulong[] Foo()
	{
		return null;
	}
}
</string>
    <string>// CS3002: Return type of `CLSClass.Test1()' is not CLS-compliant
// Line: 14
// Compiler options: -warnaserror -warn:1

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: Return type of `Delegate' is not CLS-compliant
// Line: 8
// Compiler options: -warnaserror -warn:1

using System;
[assembly:CLSCompliant(true)]

public delegate CLSDelegate Delegate ();
    
[Serializable]
[CLSCompliant (false)]
public class CLSDelegate {
}
</string>
    <string>// CS3002: Return type of `CLSClass.Foo()' is not CLS-compliant
// Line: 13
// Compiler options: -warnaserror -warn:1

using System;
[assembly:CLSCompliant(true)]

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