Merge pull request #5260 from BrzVlad/fix-handler-block
[mono.git] / mcs / errors / cs3006.cs
1 // CS3006: Overloaded method `CLSClass.Test(ref int)' differing only in ref or out, or in array rank, is not CLS-compliant
2 // Line: 12
3 // Compiler options: -warnaserror -warn:1
4
5 using System;
6 [assembly: CLSCompliant(true)]
7
8 public class CLSClass {
9    public void Test(int a) {
10    }
11
12    public void Test(ref int b) {
13    }
14 }