Jelajahi Sumber

TARGET_JVM changes to let the compilation pass with csc 1.1

svn path=/trunk/mcs/; revision=55205
Konstantin Triger 20 tahun lalu
induk
melakukan
0366dcd0ed

+ 5 - 0
mcs/class/System.Web/System.Web.Configuration/ChangeLog

@@ -1,3 +1,8 @@
+2006-01-08  Konstantin Triger <[email protected]>
+
+        * HttpCapabilitiesBase.cs: TARGET_JVM changes to let the compilation
+                pass with csc 1.1.
+
 2005-12-22 Gonzalo Paniagua Javier <[email protected]>
 
 	* WebConfigurationSettings.cs: patch by Cyrille Colin that sets the

+ 4 - 0
mcs/class/System.Web/System.Web.Configuration/HttpCapabilitiesBase.cs

@@ -35,7 +35,11 @@ namespace System.Web.Configuration
 	// CAS
 	[AspNetHostingPermission (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
 	[AspNetHostingPermission (SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
+#if NET_2_0
 	public partial class HttpCapabilitiesBase
+#else
+	public class HttpCapabilitiesBase
+#endif
 	{
 		Hashtable capabilities;