diff options
Diffstat (limited to 'mcs/class/System.Web/System.Web.Hosting/HostingEnvironment.cs')
-rw-r--r-- | mcs/class/System.Web/System.Web.Hosting/HostingEnvironment.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mcs/class/System.Web/System.Web.Hosting/HostingEnvironment.cs b/mcs/class/System.Web/System.Web.Hosting/HostingEnvironment.cs index ebf540bfb92..4b8a52f036d 100644 --- a/mcs/class/System.Web/System.Web.Hosting/HostingEnvironment.cs +++ b/mcs/class/System.Web/System.Web.Hosting/HostingEnvironment.cs @@ -104,6 +104,13 @@ namespace System.Web.Hosting { get { return vpath_provider; } } + public static bool InClientBuildManager { + get { + // Mono doesn't have a ClientBuildManager, so we can't be in it. Simple as that. + return false; + } + } + public static void DecrementBusyCount () { Interlocked.Decrement (ref busy_count); |