do not check order sequence if option /order was not used
[mono.git] / mcs / tests / test-272.cs
1 enum Foo { Bar };
2
3 class BazAttribute : System.Attribute 
4 {
5         public BazAttribute () {}
6         public BazAttribute (Foo foo1) {}
7         public Foo foo2;
8         public Foo foo3 { set {} get { return Foo.Bar; } }
9 };
10
11 class Test 
12 {
13         [Baz (Foo.Bar)]        void f0() {}
14         [Baz ((Foo) 1)]        void f1() {}
15         [Baz (foo2 = (Foo) 2)] void f2() {}
16         [Baz (foo3 = (Foo) 3)] void f3() {}
17         static void Main() { }
18 }