linux-packaging-mono/mcs/tests/test-decl-expr-03.cs
Xamarin Public Jenkins (auto-signing) 536cd135cc Imported Upstream version 5.4.0.167
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
2017-08-21 15:34:15 +00:00

15 lines
285 B
C#

using System;
using System.Linq;
public class C
{
public static void Main ()
{
var a = "abcdef";
var t1 = from x in Foo (a, out var q1) select x;
var t2 = from x in a join y in Foo (a, out var q2) on x equals y select x;
}
public static T Foo<T> (T x, out T z) => z = x;
}