Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

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 ()
{
}
}