1 // Compiler options: -warnaserror
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")
21 static System
.Reflection
.Assembly
CurrentDomain_TypeResolve (object sender
, ResolveEventArgs args
)
23 throw new Exception ("Resolving " + args
.Name
);