blob: f9f2a1bf1ced6d70adfc5175d275ebf32fabd3fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// CS8072: An expression tree cannot contain a null propagating operator
// Line: 14
using System;
using System.Linq.Expressions;
public class C
{
public void TestMethod () { }
static void Main ()
{
C c = null;
Expression<Action> e = () => c?.TestMethod ();
}
}
|