do not check order sequence if option /order was not used
[mono.git] / mcs / tests / gtest-anontype-01.cs
1
2 // Tests anonymous types
3 using System;
4 using System.Collections;
5
6 public class Test
7 {
8         static int Main ()
9         {
10                 var v = new { Foo = "Bar", Baz = 42 };
11                 
12                 if (v.Foo != "Bar")
13                         return 1;
14                 if (v.Baz != 42)
15                         return 2;
16                 
17                 return 0;
18         }
19 }