[interp] Reduce computation under calc_section mutex
[mono-project.git] / mcs / tests / test-anon-92.cs
blob9489c33523a981ad48c6f9cb95df9aa10bb4f30c
1 using System;
2 using System.Collections;
4 delegate void D ();
6 class MainClass
8 static void Test (IEnumerable a)
10 D d = delegate () {
11 foreach (object o in a) {
12 if (o == null)
13 return;
17 d ();
20 public static int Main ()
22 Test (new string [] { "l", null});
23 return 0;