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

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

public abstract class A
{
	protected bool Test (int a)
	{
		return a == 5;
	}
}

public class B : A
{
	public void Test ()
	{ }

	class C : A
	{
		B b;

		public bool Foo (int a)
		{
			return b.Test (a);
		}
	}
}

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