diff options
Diffstat (limited to 'mcs/class/System.Web/System.Web.UI/SimpleWebHandlerParser.cs')
-rw-r--r-- | mcs/class/System.Web/System.Web.UI/SimpleWebHandlerParser.cs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/mcs/class/System.Web/System.Web.UI/SimpleWebHandlerParser.cs b/mcs/class/System.Web/System.Web.UI/SimpleWebHandlerParser.cs index d075d404a5c..4c200a93568 100644 --- a/mcs/class/System.Web/System.Web.UI/SimpleWebHandlerParser.cs +++ b/mcs/class/System.Web/System.Web.UI/SimpleWebHandlerParser.cs @@ -64,10 +64,6 @@ namespace System.Web.UI protected SimpleWebHandlerParser (HttpContext context, string virtualPath, string physicalPath) { - cachedType = CachingCompiler.GetTypeFromCache (physicalPath); - if (cachedType != null) - return; // We don't need anything else. - this.context = context; this.vPath = virtualPath; this.physPath = physicalPath; @@ -108,7 +104,8 @@ namespace System.Web.UI ParseDirective (trimmed); directiveFound = true; if (gotDefault) { - cachedType = CachingCompiler.GetTypeFromCache (physPath); + cachedType = CachingCompiler.GetTypeFromCache (physPath, + className); if (cachedType != null) break; } |