a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
24 lines
383 B
C#
24 lines
383 B
C#
// 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 ()
|
|
{
|
|
}
|
|
}
|