summaryrefslogtreecommitdiff
path: root/mcs/errors/cs3006.cs
blob: d7e7721f2a3e97d1eb1258d3fbac9a1c0cd19463 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS3006: Overloaded method `CLSClass.Test(ref int)' differing only in ref or out, or in array rank, is not CLS-compliant
// Line: 12
// Compiler options: -warnaserror -warn:1

using System;
[assembly: CLSCompliant(true)]

public class CLSClass {
   public void Test(int a) {
   }

   public void Test(ref int b) {
   }
}