2 // reference both versions of gactestlib via extern aliases.
4 // N.B. the order of the aliases is important - the compiler will emit
5 // .assembly declarations in the IL file in order, and Mono will try to load the declarations in the same order.
6 // The test relies on V1 being loaded first and then V2 being tried from V1's MONO_PATH directory.
12 public class AppBoth {
13 public static int Main (string[] args) {
14 // regression test that references two strongly named
15 // assemblies that have the same name but different versions.
18 if (typeof (V1.X).Assembly.GetName ().Version == typeof (V2.X).Assembly.GetName ().Version)