2 using System
.Reflection
;
13 public class C
: I
<int>
24 public static int Main ()
27 foreach (MethodInfo method
in typeof (Nested
.C
).GetMethods (BindingFlags
.Instance
| BindingFlags
.NonPublic
)) {
28 Console
.WriteLine (method
.Name
);
29 if (method
.Name
== "N.Nested.I<int>.get_P")
33 foreach (PropertyInfo pi
in typeof (Nested
.C
).GetProperties (BindingFlags
.Instance
| BindingFlags
.NonPublic
)) {
34 Console
.WriteLine (pi
.Name
);
35 if (pi
.Name
== "N.Nested.I<int>.P")