Jo Shields fe777c5c82 Imported Upstream version 3.8.0
Former-commit-id: 6a76a29bd07d86e57c6c8da45c65ed5447d38a61
2014-09-04 09:07:35 +01:00

24 lines
229 B
C#

abstract class A
{
public virtual void M (params B[] b)
{
}
}
class B : A
{
public override void M (B[] b2)
{
}
}
class Test2
{
public static void Main()
{
B b = new B();
A a = b;
a.M (b, b);
b.M (b, b, b);
}
}