Xamarin Public Jenkins (auto-signing) e2950ec768 Imported Upstream version 5.10.0.69
Former-commit-id: fc39669a0b707dd3c063977486506b6793da2890
2018-01-29 19:03:06 +00:00

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;
}
}