Merge pull request #1821 from iainx/replace-getline
[mono-project.git] / mcs / 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() {}