blob: 97645dd02bce383997a89412742f19243c160f54 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
using System;
using System.Collections.Generic;
public class A { }
public class B : A { }
public class Test
{
public static void Block (params A[] expressions)
{
throw new ApplicationException ();
}
public static void Block (IEnumerable<B> variables, params A[] expressions)
{
}
public static int Main ()
{
A e = new A ();
Block (new B[] { }, e);
return 0;
}
}
|