Add support for Windows x64 Full AOT + LLVM + Interpreter on CI. (#15276)
[mono-project.git] / mcs / tests / test-816.cs
blobfce32fdc2eb893eeafcfef95ca30a5b1dca5da6d
1 // Compiler options: -warnaserror
3 namespace System
5 class Int32
9 class Program
11 public static int Main ()
13 System.AppDomain.CurrentDomain.TypeResolve += new ResolveEventHandler (CurrentDomain_TypeResolve);
14 System.Type intType = System.Type.GetType ("System.Int32");
15 if (intType.AssemblyQualifiedName != "System.Int32, test-816, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")
16 return 1;
18 return 0;
21 static System.Reflection.Assembly CurrentDomain_TypeResolve (object sender, ResolveEventArgs args)
23 throw new Exception ("Resolving " + args.Name);