6 references to DisposeIfNecessary
System.IdentityModel (6)
System\IdentityModel\Claims\X509CertificateClaimSet.cs (2)
146
SecurityUtils.
DisposeIfNecessary
(this.identity);
151
SecurityUtils.
DisposeIfNecessary
(this.issuer as IDisposable);
System\IdentityModel\Policy\UnconditionalPolicy.cs (1)
194
SecurityUtils.
DisposeIfNecessary
(this.primaryIdentity as WindowsIdentity);
System\IdentityModel\SecurityUtils.cs (3)
753
SecurityUtils.
DisposeIfNecessary
(claimSet as WindowsClaimSet);
763
SecurityUtils.
DisposeIfNecessary
(claimSets[i] as WindowsClaimSet);
809
DisposeIfNecessary
(authorizationPolicies[i] as UnconditionalPolicy);