2 // This tests member lookups on inherited interfaces.
4 // The bug was exposed because FindMembers in MemberLookup
5 // would not return all the members on interfaces, but only
6 // the members from the most close type.
10 using System.Collections;
28 p.method2();//<- works declared in 'B'
29 p.method1();//<- fails declared in 'A'
36 public static int Main () {
37 IList list = new ArrayList ();