[interp] Reduce computation under calc_section mutex
[mono-project.git] / mcs / tests / test-anon-115.cs
blob886c49874c45213f7182f6a3cba449fd26ac983f
1 using System;
3 public delegate void Foo<V> (V v);
5 public delegate void Bar<W> (W w);
8 class Test<T>
10 public static void Hello<S> (T t, S s)
12 Foo<long> foo = delegate (long r) {
13 Console.WriteLine (r);
14 Bar<T> bar = delegate (T x) {
15 Console.WriteLine (r);
16 Console.WriteLine (t);
17 Console.WriteLine (s);
18 Console.WriteLine (x);
20 bar (t);
22 foo (5);
26 class X
28 public static void Main ()
30 Test<string>.Hello ("World", 3.1415F);