summaryrefslogtreecommitdiff
path: root/mcs/tests/gtest-097.cs
blob: 63ead2583e150b9b9dd2cbb8b0a6c2244cdfc31e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
public interface IFoo
{
	void Test<T> ();

	void Test<U,V> ();
}

public class Foo : IFoo
{
	void IFoo.Test<X> ()
	{ }

	void IFoo.Test<Y,Z> ()
	{ }
}

public interface IBar<T>
{
	void Test ();
}

public interface IBar<U,V>
{
	void Test ();
}

public class Bar<X,Y,Z> : IBar<X>, IBar<Y,Z>
{
	void IBar<X>.Test ()
	{ }

	void IBar<Y,Z>.Test ()
	{ }
}

class X
{
	public static void Main ()
	{ }
}