Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>2009-07-09 22:37:26 +0400
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>2009-07-09 22:37:26 +0400
commit44cc7fceeecbeda2be079d8b7699695f1985acd6 (patch)
treeb09bef09fbc0501eefd7824176d33b58ced23971 /mcs/class/System.Web/System.Web.Hosting/SimpleWorkerRequest.cs
parentc62af61a776bd7a541c09d1abe752fd073e3a329 (diff)
fix the build
svn path=/trunk/mcs/; revision=137650
Diffstat (limited to 'mcs/class/System.Web/System.Web.Hosting/SimpleWorkerRequest.cs')
-rw-r--r--mcs/class/System.Web/System.Web.Hosting/SimpleWorkerRequest.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/mcs/class/System.Web/System.Web.Hosting/SimpleWorkerRequest.cs b/mcs/class/System.Web/System.Web.Hosting/SimpleWorkerRequest.cs
index 05c8ba5046f..2d65df50779 100644
--- a/mcs/class/System.Web/System.Web.Hosting/SimpleWorkerRequest.cs
+++ b/mcs/class/System.Web/System.Web.Hosting/SimpleWorkerRequest.cs
@@ -58,12 +58,14 @@ namespace System.Web.Hosting {
// computed
string raw_url;
+#if NET_2_0
static readonly string root_web_config_path;
static SimpleWorkerRequest ()
{
root_web_config_path = WebConfigurationManager.OpenWebConfiguration ("~").FilePath;
}
+#endif
//
// Constructor used when the target application domain