Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gtest-075.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 18f623ed494a25d23817e9f961d135ea99ef75e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
public interface IExtensible<T>
{
	void AddAll<U> (U item)
		where U : T;
}

public class ArrayList<T> : IExtensible<T>
{
        void IExtensible<T>.AddAll<U> (U item)
        { }
}

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