[interp] Reduce computation under calc_section mutex
[mono-project.git] / mcs / tests / gtest-lambda-03.cs
blobba9a2b4576c0527639cf7dbd89c474f4a8d05d07
3 using System;
5 public delegate TResult Func<TArg0, TResult> (TArg0 arg0);
7 class Demo
9 static Y F<X, Y> (int a, X value, Func<X, Y> f1)
11 return f1 (value);
13 public static int Main ()
15 object o = F (1, "1:15:30", s => TimeSpan.Parse (s));
16 Console.WriteLine (o);
17 return 0;