[runtime] Don't insta-fail when a faulty COM type is encountered. (#5616)
[mono.git] / mcs / tests / test-117.cs
1 using System;
2 using System.Collections;
3
4 public interface IFoo {
5
6 }
7
8 public class Blah : IFoo {
9
10         Hashtable table;
11
12         public Blah ()
13         {
14                 table = new Hashtable ();
15         }
16
17         public static int Main ()
18         {
19                 Blah b = new Blah ();
20
21                 b.table.Add ("Ravi", (IFoo) b);
22
23                 return 0;
24         }
25                 
26         
27
28 }