e46a49ecf1
Former-commit-id: d0813289fa2d35e1f8ed77530acb4fb1df441bc0
16 lines
281 B
C#
16 lines
281 B
C#
// CS8155: Lambda expressions that return by reference cannot be converted to expression trees
|
|
// Line: 14
|
|
|
|
using System.Linq.Expressions;
|
|
|
|
class TestClass
|
|
{
|
|
static int x;
|
|
|
|
delegate ref int D ();
|
|
|
|
static void Main ()
|
|
{
|
|
Expression<D> e = () => ref x;
|
|
}
|
|
} |