1 using System
.Reflection
;
17 public static int Main ()
19 MethodInfo
[] mi
= typeof (D
).GetMethods (BindingFlags
.Instance
| BindingFlags
.NonPublic
);
22 foreach (MethodInfo j
in mi
){
23 if (j
.Name
.IndexOf ("METHOD") != -1){
31 if (m
.Name
!= "A.B.METHOD"){
32 Console
.WriteLine ("Incorrect method name, expecting: {0} got {1}",
33 "A.B.METHOD", m
.Name
);