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

cs0765.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 66a415abfdde5102d4c09112a1e15d8c4cb247f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// CS0765: Partial methods with only a defining declaration or removed conditional methods cannot be used in an expression tree
// Line: 15

using System;
using System.Diagnostics;
using System.Linq.Expressions;

public class C
{
	[Conditional ("DEBUG")]
	public static void TestMethod () { }

	static void Main ()
	{
		Expression<Action> e = () => TestMethod ();
	}
}