2 using System.Reflection;
8 public static int Main ()
11 InterfaceMapping map = t.GetInterfaceMap (typeof (ITest));
13 foreach (MethodInfo m in map.TargetMethods) {
14 if (m.Name.Contains ("."))
18 if (map.TargetMethods.Length != 3)
21 MethodInfo[] methods = t.GetMethods (BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly);
22 if (methods.Length != 0)
29 public interface ITest
56 public class B : A, ITest