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

gtest-etree-06.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f1804e218a5a1c143db3e144334eed6ff4cf0ff5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using System;
using System.Linq.Expressions;

public class Test
{
	public static int Main()
	{
		Expression<Func<int>> f = (() => Value());
		return f.Compile ().Invoke ();
	}

	private static int Value()
	{
		return 0;
	}
}