do not check order sequence if option /order was not used
[mono.git] / mcs / tests / test-anon-53.cs
1 using System;
2
3 public delegate void Foo ();
4
5 class Test
6 {
7         public Test (int a)
8         {
9                 Foo foo = delegate {
10                         Console.WriteLine (a);
11                 };
12                 foo ();
13         }
14
15         static Test ()
16         {
17                 int a = 5;
18                 Foo foo = delegate {
19                         Console.WriteLine (a);
20                 };
21                 foo ();
22         }
23 }
24
25 class X
26 {
27         static void Main ()
28         {
29                 Test test = new Test (9);
30                 Console.WriteLine (test);
31         }
32 }