a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
19 lines
352 B
C#
19 lines
352 B
C#
// 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() {}
|
|
}
|