e2950ec768
Former-commit-id: fc39669a0b707dd3c063977486506b6793da2890
20 lines
267 B
C#
20 lines
267 B
C#
// CS8207: An expression tree cannot contain a discard
|
|
// Line: 11
|
|
|
|
using System;
|
|
using System.Linq.Expressions;
|
|
|
|
class X
|
|
{
|
|
void Test ()
|
|
{
|
|
Expression<Func<bool>> e = () => TryGetValue (out _);
|
|
}
|
|
|
|
bool TryGetValue (out int arg)
|
|
{
|
|
arg = 3;
|
|
return true;
|
|
}
|
|
}
|