Take stars out of types where they make more sense.
[mono-project.git] / mcs / tests / test-604.cs
blob789779e13ca775bd1e5218e32414bcd04713f833
1 using System;
2 using System.Reflection;
4 class Program {
5 interface Iface1 {
6 void IfaceMethod1 ();
9 interface Iface2 {
10 void IfaceMethod2 ();
13 public class ImplementingExplicitInterfacesMembers : Iface1, Iface2 {
14 void Iface1.IfaceMethod1 ()
18 void Iface2.IfaceMethod2 ()
23 public static int Main ()
25 object[] o = typeof (ImplementingExplicitInterfacesMembers).GetMethods (BindingFlags.NonPublic | BindingFlags.Instance);
26 foreach (MethodInfo mi in o) {
27 if (mi.Name.IndexOf ('+') != -1)
28 return 1;
29 Console.WriteLine (mi.Name);
32 return 0;