* Thread.cs: Changed an imperative security demand to declarative (unsupported) so it doesn't (for now) call the security runtime. svn path=/trunk/mcs/; revision=33355
@@ -1,3 +1,8 @@
+2004-09-04 Sebastien Pouliot <[email protected]>
+
+ * Thread.cs: Changed an imperative security demand to declarative
+ (unsupported) so it doesn't (for now) call the security runtime.
2004-08-20 Sebastien Pouliot <[email protected]>
* Thread.cs: Added Fx 2.0 properties/methods/attributes.
@@ -102,8 +102,8 @@ namespace System.Threading
}
return p;
+ [SecurityPermission (SecurityAction.Demand, Flags=SecurityPermissionFlag.ControlPolicy)]
set {
- new SecurityPermission (SecurityPermissionFlag.ControlPrincipal).Demand ();
CurrentThread._principal = value;