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

cs0738.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a82effbc13b569f72e5784ff934ab150274e4782 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// CS0738: `B' does not implement interface member `I.Test(int)' and the best implementing candidate `B.Test(int)' return type `int' does not match interface member return type `void'
// Line: 9

interface I
{
	void Test (int a);
}

class B: I
{
	public int Test (int a)
	{
		return a;
	}
}