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

cs0127.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2a72c6a1a3dd4554e7d1c615ca91bc97927f063d (plain)
1
2
3
4
5
6
7
8
// cs0127.cs:  Since 'X.fn' returns void, a return keyword must not be followed by an object expression
// Line: 6
class X {
	void fn ()
	{
		return 1;
	}
}