Browse Source

2009-09-22 Sebastien Pouliot <[email protected]>

	* Thread.cs: Remove [Get|Set]CompressedStack for NET_2_1


svn path=/trunk/mcs/; revision=142401
Sebastien Pouliot 16 years ago
parent
commit
a0818feb95

+ 4 - 0
mcs/class/corlib/System.Threading/ChangeLog

@@ -1,3 +1,7 @@
+2009-09-22  Sebastien Pouliot  <[email protected]>
+
+	* Thread.cs: Remove [Get|Set]CompressedStack for NET_2_1
+
 2009-09-21  Sebastien Pouliot  <[email protected]>
 
 	* Thread.cs: Remove CurrentPrincipal property for NET_2_1

+ 3 - 0
mcs/class/corlib/System.Threading/Thread.cs

@@ -1063,6 +1063,7 @@ namespace System.Threading {
 		}
 #endif
 
+#if !NET_2_1
 		// NOTE: This method doesn't show in the class library status page because
 		// it cannot be "found" with the StrongNameIdentityPermission for ECMA key.
 		// But it's there!
@@ -1103,6 +1104,8 @@ namespace System.Threading {
 			ExecutionContext.SecurityContext.CompressedStack = stack;
 		}
 
+#endif
+
 #if NET_1_1
 		void _Thread.GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId)
 		{