summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0407-4.cs
blob: bee931b71eded4f3398fd9e6dac75b4306679c6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS0407: A method or delegate `TestDelegateA MainClass.Method(bool)' return type does not match delegate `int TestDelegateA(bool)' return type
// Line: 12

delegate int TestDelegateA (bool b);

public class MainClass
{
	static TestDelegateA Method (bool b)
	{
		return Method;
	}
}