summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0127-3.cs
blob: 5e39cb9da7a657445ef357523bfd7b2f621d4b0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// CS0127: `System.Action': A return keyword must not be followed by any expression when delegate returns void
// Line: 10

using System;

class C
{
	public void Test ()
	{
		Action a = () => { return Skip (); };
	}
	
	void Skip ()
	{
	}
}