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