Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs3006.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6dedb437a5c9e8fe8753e2866e44662babdc3f5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS3006: Overloaded method `CLSClass.Test(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) {
   }
}