[interp] Reduce computation under calc_section mutex
[mono-project.git] / mcs / tests / test-anon-157.cs
blob622f84eb3f82481dde4cc8fff4207a17940858ae
1 using System;
3 delegate void Foo ();
5 interface IFoo<T>
7 void Test ();
10 class X<T> : IFoo<T>
12 void IFoo<T>.Test ()
14 Foo foo = delegate {
15 Console.WriteLine (1);
18 foo ();
22 class M
24 public static void Main ()
26 IFoo<int> x = new X<int> ();
27 x.Test ();