a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
18 lines
369 B
C#
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 ();
|
|
}
|
|
}
|