// Gonzalo Paniagua Javier (gonzalo@ximian.com)
//
// (C) 2003 Ximian, Inc (http://www.ximian.com)
-//
+// (C) 2008 Novell, Inc (http://novell.com/)
//
// Permission is hereby granted, free of charge, to any person obtaining
using System.Web;
using System.Web.Compilation;
+using System.IO;
namespace System.Web.UI
{
class WebHandlerParser : SimpleWebHandlerParser
{
- private WebHandlerParser (HttpContext context, string virtualPath, string physicalPath)
+ WebHandlerParser (HttpContext context, string virtualPath, string physicalPath)
: base (context, virtualPath, physicalPath)
{
}
+#if NET_2_0
+ internal WebHandlerParser (HttpContext context, string virtualPath, TextReader reader)
+ : this (context, virtualPath, null, reader)
+ {
+ }
+
+ internal WebHandlerParser (HttpContext context, string virtualPath, string physicalPath, TextReader reader)
+ : base (context, virtualPath, physicalPath, reader)
+ {
+ }
+#endif
+
public static Type GetCompiledType (HttpContext context, string virtualPath, string physicalPath)
{
WebHandlerParser parser = new WebHandlerParser (context, virtualPath, physicalPath);