32 references to Count
System.IdentityModel (26)
System\IdentityModel\EnvelopedSignatureReader.cs (3)
185if (_signedXml.Signature == null || _signedXml.Signature.KeyIdentifier == null || _signedXml.Signature.KeyIdentifier.Count == 0) 196if (_signedXml.Signature.KeyIdentifier.Count < 2 || LocalAppContextSwitches.ReturnMultipleSecurityKeyIdentifierClauses) 242if (_signedXml.Signature.KeyIdentifier.Count < 2 || LocalAppContextSwitches.ReturnMultipleSecurityKeyIdentifierClauses)
System\IdentityModel\Selectors\SecurityTokenResolver.cs (3)
137if (keyIdentifier != null && keyIdentifier.Count > 0) 139for (int i = 0; i < keyIdentifier.Count; i++) 163for (int i = 0; i < keyIdentifier.Count; ++i)
System\IdentityModel\Tokens\KeyInfoSerializer.cs (1)
177if (keyIdentifier.Count == 0)
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (2)
2279if (keyIdentifier.Count < 2 || LocalAppContextSwitches.ProcessMultipleSecurityKeyIdentifierClauses) 4422if (ski.Count == 0)
System\IdentityModel\Tokens\SamlAssertion.cs (3)
321if (securityKeyIdentifier.Count < 2 || LocalAppContextSwitches.ProcessMultipleSecurityKeyIdentifierClauses) 330if (securityKeyIdentifier.Count < 2 || LocalAppContextSwitches.ProcessMultipleSecurityKeyIdentifierClauses) 350for (int i = 0; i < ski.Count; ++i)
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (2)
3434if (keyIdentifier.Count < 2 || LocalAppContextSwitches.ProcessMultipleSecurityKeyIdentifierClauses) 3477if (ski.Count == 0)
System\IdentityModel\Tokens\SamlSerializer.cs (1)
204for (int i = 0; i < ski.Count; ++i)
System\IdentityModel\Tokens\SecurityKeyElement.cs (1)
208for (int i = 0; i < _securityKeyIdentifier.Count; ++i)
System\IdentityModel\Tokens\SecurityKeyIdentifier.cs (6)
45for (int i = 0; i < this.Count; i++) 81for (int i = 0; i < this.Count; i++) 118writer.WriteLine(" Count = {0}{1}", this.Count, this.Count > 0 ? "," : ""); 119for (int i = 0; i < this.Count; i++) 121writer.WriteLine(" Clause[{0}] = {1}{2}", i, this[i], i < this.Count - 1 ? "," : "");
System\IdentityModel\Tokens\X509CertificateStoreTokenResolver.cs (2)
92if (keyIdentifier != null && keyIdentifier.Count > 0) 94for (int i = 0; i < keyIdentifier.Count; i++)
System\IdentityModel\Tokens\XmlDsigSep2000.cs (1)
78if ( keyIdentifier.Count == 0 )
System\ServiceModel\Security\EncryptedType.cs (1)
309if (keyIdentifier.Count == 0)
System.ServiceModel (6)
System\ServiceModel\Security\ReceiveSecurityHeader.cs (1)
2136for (int i = 0; i < keyIdentifier.Count; ++i)
System\ServiceModel\Security\SecurityHeaderTokenResolver.cs (2)
85for (int i = 0; i < keyIdentifier.Count; i++) 101for (int i = 0; i < keyIdentifier.Count; i++)
System\ServiceModel\Security\SecurityUtils.cs (1)
2267for (int i = 0; i < keyClause.EncryptingKeyIdentifier.Count; i++)
System\ServiceModel\Security\WSSecurityJan2004.cs (1)
549if (unwrappingTokenIdentifier == null || unwrappingTokenIdentifier.Count == 0)
System\ServiceModel\Security\WSSecurityOneDotZeroReceiveSecurityHeader.cs (1)
490if (keyIdentifier.Count == 1)