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

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

interface I<T> : IA<T>
{
}

interface IA<T>
{
	T this [int i] { set; }
}

class B
{
	I<int> i;
	
	void Foo ()
	{
		i [10] = 1;
	}
	
	public static void Main ()
	{
	}
}