Imported Upstream version 3.6.0

Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
This commit is contained in:
Jo Shields
2014-08-13 10:39:27 +01:00
commit a575963da9
50588 changed files with 8155799 additions and 0 deletions

34
mcs/tests/test-604.cs Normal file
View File

@@ -0,0 +1,34 @@
using System;
using System.Reflection;
class Program {
interface Iface1 {
void IfaceMethod1 ();
}
interface Iface2 {
void IfaceMethod2 ();
}
public class ImplementingExplicitInterfacesMembers : Iface1, Iface2 {
void Iface1.IfaceMethod1 ()
{
}
void Iface2.IfaceMethod2 ()
{
}
}
public static int Main ()
{
object[] o = typeof (ImplementingExplicitInterfacesMembers).GetMethods (BindingFlags.NonPublic | BindingFlags.Instance);
foreach (MethodInfo mi in o) {
if (mi.Name.IndexOf ('+') != -1)
return 1;
Console.WriteLine (mi.Name);
}
return 0;
}
}