2009-09-02 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs3002-2.cs
blob10b706db3b2a584c7640c39de7f819fe6f60c6cb
1 // CS3002: Return type of `CLSClass.Foo()' is not CLS-compliant
2 // Line: 14
3 // Compiler options: -warnaserror -warn:1
5 using System;
6 [assembly:CLSCompliant(true)]
8 public class CLSClass {
9 [CLSCompliant(false)]
10 public ulong Valid() {
11 return 1;
14 protected internal ulong Foo() {
15 return 1;
18 static void Main() {}