[interp] Reduce computation under calc_section mutex
[mono-project.git] / mcs / tests / test-decl-expr-03.cs
blobbc0f01c5f608ca9b399a1378cd6332bae13681a0
1 using System;
2 using System.Linq;
4 public class C
6 public static void Main ()
8 var a = "abcdef";
10 var t1 = from x in Foo (a, out var q1) select x;
11 var t2 = from x in a join y in Foo (a, out var q2) on x equals y select x;
14 public static T Foo<T> (T x, out T z) => z = x;