From 10cb0a21e96337f1517c0c49903b83c636248c4b Mon Sep 17 00:00:00 2001 From: jfrijters Date: Sun, 21 Sep 2008 09:48:57 +0000 Subject: [PATCH] Fixed .NET generic support regression introduced when ikvmc moved to not using the CompilerClassLoader as the system class loader. --- ikvmc/CompilerClassLoader.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ikvmc/CompilerClassLoader.cs b/ikvmc/CompilerClassLoader.cs index 84425b37..34821886 100644 --- a/ikvmc/CompilerClassLoader.cs +++ b/ikvmc/CompilerClassLoader.cs @@ -177,7 +177,12 @@ namespace IKVM.Internal peerHack = false; } } - return GetTypeWrapperCompilerHook(name); + TypeWrapper tw1 = GetTypeWrapperCompilerHook(name); + if(tw1 != null) + { + return tw1; + } + return LoadGenericClass(name); } private TypeWrapper GetTypeWrapperCompilerHook(string name)