New test.
[mono.git] / mcs / errors / cs3002-1.cs
1 // cs3002-1.cs: Return type of `CLSClass.Foo()' is not CLS-compliant
2 // Line: 13
3
4 using System;
5 [assembly:CLSCompliant(true)]
6
7 [CLSCompliant(false)]
8 public interface I1 {
9 }
10
11 public class CLSClass {
12         protected internal I1 Foo() {
13                 return null;
14         }
15        
16         static void Main() {}
17 }