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