2009-02-10 Jeffrey Stedfast <fejj@novell.com>
[mono-project/dkf.git] / mcs / tests / test-604.cs
blob1d3b01a38023dc29c4b878723436c653b7556fe0
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 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;