blob: 10b706db3b2a584c7640c39de7f819fe6f60c6cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// 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() {}
}
|