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

gtest-355.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: adf87bb71bec2e2fab64eb287101b9c4b2a81e27 (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
33
34
35
36
37
38
class A
{
	public virtual bool Foo (string s)
	{
		return true;
	}

	public virtual string Foo<T> (string s)
	{
		return "v";
	}
}

class B : A
{
	public bool Goo (string s)
	{
		return Foo (s);
	}

	public override bool Foo (string s)
	{
		return false;
	}

	public override string Foo<T> (string s)
	{
		return "a";
	}
}


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