Update to the latest IKVM which now has support for missing types
[mono.git] / mcs / class / IKVM.Reflection / Universe.cs
index ab6318303afc18e4865767788e4ae8fdb9dee2d8..99ba29af5f53cf9cd7cd9b669836acb3bc215f6e 100644 (file)
@@ -1,5 +1,5 @@
 /*
-  Copyright (C) 2009-2010 Jeroen Frijters
+  Copyright (C) 2009-2011 Jeroen Frijters
 
   This software is provided 'as-is', without any express or implied
   warranty.  In no event will the authors be held liable for any damages
@@ -32,7 +32,7 @@ using IKVM.Reflection.Emit;
 
 namespace IKVM.Reflection
 {
-       public class ResolveEventArgs : EventArgs
+       public sealed class ResolveEventArgs : EventArgs
        {
                private readonly string name;
                private readonly Assembly requestingAssembly;
@@ -791,5 +791,10 @@ namespace IKVM.Reflection
                                }
                        }
                }
+
+               public Assembly CreateMissingAssembly(string assemblyName)
+               {
+                       return new MissingAssembly(this, assemblyName);
+               }
        }
 }