2009-10-22 Marek Safar <marek.safar@gmail.com>
[mcs.git] / errors / cs3002-5.cs
blob5ee098ad63feb624d768e46982f8664e5fc17d8a
1 // CS3002: Return type of `CLSClass.Test1()' is not CLS-compliant
2 // Line: 14
3 // Compiler options: -warnaserror -warn:1
5 using System;
6 [assembly:CLSCompliant(true)]
8 [CLSCompliant(false)]
9 public interface I {}
11 public class C {}
13 public class CLSClass {
14 public I Test1() { return null; }
15 public C Test2() { return null; }