do not check order sequence if option /order was not used
[mono.git] / mcs / tests / test-594.cs
1 using System;
2 using System.Reflection;
3
4 [assembly: AssemblyVersion ("2.3.*")]
5
6 public class Test
7 {
8         static int Main ()
9         {
10                 var v = typeof (Test).Assembly.GetName ().Version;
11                 if (v.Major != 2)
12                         return 1;
13                 
14                 if (v.Minor != 3)
15                         return 2;
16
17                 if (v.Build < 1)
18                         return 3;
19                 
20                 if (v.Revision < 1)
21                         return 4;
22
23                 return 0;
24         }
25 }