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