[runtime] Don't insta-fail when a faulty COM type is encountered. (#5616)
[mono.git] / mcs / tests / test-902.cs
1 abstract class A
2 {
3         public virtual void M (params B[] b)
4         {
5         }
6 }
7
8 class B : A
9 {
10         public override void M (B[] b2)
11         {
12         }
13 }
14
15 class Test2
16 {
17         public static void Main()
18         {
19                 B b = new B();
20                 A a = b;
21                 a.M (b, b);
22                 b.M (b, b, b);
23         }
24 }