Commit Graph
6 Commits
Author SHA1 Message Date
Miguel de Icaza 4baa1d2bc2 More removal of old defines
svn path=/trunk/mcs/; revision=145609
2009-11-06 21:25:38 +00:00
Sebastien Pouliot 3ed164a91a 2005-04-28 Sebastien Pouliot <[email protected]>
* PermissionSetCollection.cs: Updated wrt beta2. Seems this will be
	removed before 2.0 final.
	* HostProtectionException.cs: Updated wrt beta2. Added TODO as it 
	isn't support by the runtime.
	* SecurityContext.cs: Updated wrt beta2. Class is now internal in 
	NET_1_1 to allow the compressed stack propagation to other threads.
	* SecurityCriticalAttribute.cs: Added support for property Scope.
	* SecurityException.cs: Removed PermitOnlySetInstance property to 
	match beta2.
	* SecurityTransparentAttribute.cs: Fixed AttributeUsage. Added TODO
	as it isn't support by the runtime.
	* SuppressUnmanagedCodeSecurityAttribute.cs: Added delegates to usage
	in NET_2_0.


svn path=/trunk/mcs/; revision=43714
2005-04-28 12:09:31 +00:00
Sebastien Pouliot 4e207b1532 2005-02-25 Sebastien Pouliot <[email protected]>
* CodeAccessPermission.cs: Implement Equals for NET_2_0 profile.
	* PermissionSet.cs: Added code to decode the metadata format used for
	declarative security in 2.0 (except enums and arrays now).
	* PermissionSetCollection.cs: Added code to decode from the new metadata
	format used for declarative security in 2.0.
	* SecurityManager.cs: Added support for LinkDemandChoice, Inheritance
	DemandChoice and DemandChoice (2.0). Added support for reflected 
	LinkDemand (promotes the demand to a full Demand).


svn path=/trunk/mcs/; revision=41204
2005-02-25 15:03:53 +00:00
Sebastien Pouliot 510706a095 2005-01-10 Sebastien Pouliot <[email protected]>
* HostSecurityManager.cs: Fix signature as DetermineApplicationTrust
	doesn't return a boolean anymore.
	* SecurityElement.cs: The attributes and children elements are not
	indented in 2.0. This fix many unit tests that do string compares.
	* PermissionSetCollection.cs: We can't trust all IList implementations
	to throw the ArgumentOutOfRangeException - so we better do it here.


svn path=/trunk/mcs/; revision=38662
2005-01-11 01:07:14 +00:00
Sebastien Pouliot 24f1097b09 2005-01-09 Sebastien Pouliot <[email protected]>
* CodeAccessPermission.cs: CheckAssert, CheckDemand, CheckDeny and
	CheckPermitOnly are no more publicly avaiable in Fx 2.0 and have been
	changed to internal for all profiles. Updated comments to reflect the
	(better) documentation available with 2.0.
	* HostSecurityManager.cs: Updated to Dec CTP specs. There is missing
	documentation (and/or classes) to implement completly the 
	DetermineApplicationTrust method at this point.
	* PermissionSetCollection.cs: Completed implementation.
	* PermissionSet.cs: Fix the case where Assert, Deny and PermitOnly 
	must be ignored for non-CAS permissions.
	* SecurityManager.cs: Refactored resolve methods to implements 
	ResolveSystemPolicy (a resolve without the AppDomain policy level).
	Added a default implementation for GetZoneAndOrigin (empty ArrayList) 
	which seems to be right (at least) for FullTrust. 


svn path=/trunk/mcs/; revision=38571
2005-01-09 23:06:21 +00:00
Sebastien Pouliot 9a778ca428 2004-08-03 Sebastien Pouliot <[email protected]>
* PermissionSetCollection.cs: New class in Fx 2.0.
	* SecureString.cs: New class in Fx 2.0. Not yet encrypted.

svn path=/trunk/mcs/; revision=31818
2004-08-03 18:43:50 +00:00