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

test-926.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: dfb7b3bd8fdc0b54b0d8492264454e063ce4f446 (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
class Program
{
	public static void Main ()
	{
		System.Console.WriteLine("Hi");
	}
}

public class MyClass
{
	protected internal virtual int this[int i]
	{
		protected get
		{
			return 2;
		}
		set
		{
		}
	}
}

public class Derived : MyClass
{
	protected internal override int this[int i]
	{
		protected get
		{
			return 4;
		}
	}
}