Merge pull request #3591 from directhex/mono_libdir_fallback
[mono.git] / mcs / errors / cs3006-8.cs
1 // CS3006: Overloaded method `Base<T>.Test(ref int)' differing only in ref or out, or in array rank, is not CLS-compliant
2 // Line: 13
3 // Compiler options: -warnaserror -warn:1
4
5 using System;
6 [assembly: CLSCompliant (true)]
7
8 public class Base<T>
9 {
10         public void Test (int a)
11         {
12         }
13         public void Test (ref int b)
14         {
15         }
16 }
17
18 public class CLSClass : Base<int>
19 {
20         public void Test ()
21         {
22         }
23 }