Stop lying in the comments
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Wed, 14 Sep 2011 00:20:04 +0000 (20:20 -0400)
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Wed, 14 Sep 2011 00:20:04 +0000 (20:20 -0400)
mcs/class/System.Web/System.Web.Compilation/GenericBuildProvider.cs

index be6c55b879d1438f9064a56710aad73c65bceb4f..f9692a8e19869296dc6de862fe1c62668b366f89 100644 (file)
@@ -147,8 +147,6 @@ namespace System.Web.Compilation
                                return LoadTypeFromBin (_compiler, Parser);
                        
                        Type type = null;
-                       // This is not called if compilation failed.
-                       // Returning null makes the caller throw an InvalidCastException
                        Assembly assembly = results != null ? results.CompiledAssembly : null;
                        if (assembly != null) {
                                type = assembly.GetType (GetClassType (_compiler, Parser));