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

cs3006-7.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fb07871f4fd3f101c31a63ff41fa2cea38163d32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// cs3006.cs: Overloaded method 'CLSClass.Test(ref int)' differing only in ref or out, or in array rank, is not CLS-compliant
// Line: 14

using System;
[assembly: CLSCompliant(true)]

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

public class CLSClass: Base {
   public void Test(ref int b) {
   }
}