Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

18 lines
369 B
C#

// 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 ();
}
}