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

gtest-478.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fa1052fd798b0105a73bb4133b585ee953fd8592 (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
using System;

interface IA
{
	void Foo ();
}

interface IG<T> : IA
{
	void GenFoo ();
}

class M : IG<int>
{
	public void Foo ()
	{
	}
	
	public void GenFoo ()
	{
	}
	
	public static void Main ()
	{
		IG<int> v = new M ();
		v.Foo ();
	}
}