Implemented interface member:
14 references to Count
NuGet.Packaging (3)
Signing\Cms\NativeUtility.cs (3)
163if (cmsSigner.SignedAttributes.Count != 0) 165signerInfo.cAuthAttr = cmsSigner.SignedAttributes.Count; 171var attributesArray = (CRYPT_ATTRIBUTE*)hb.Alloc(sizeOfCryptAttribute * cmsSigner.SignedAttributes.Count);
System.Security.Cryptography.Pkcs (11)
Internal\Cryptography\Pal\AnyOS\ManagedPal.Encrypt.cs (1)
80if (unprotectedAttributes != null && unprotectedAttributes.Count > 0)
Internal\Cryptography\Pal\Windows\PkcsPalWindows.Encrypt.cs (1)
184int numUnprotectedAttributes = unprotectedAttributes.Count;
src\runtime\src\libraries\Common\src\Internal\Cryptography\PkcsHelpers.cs (1)
41if (attributes == null || attributes.Count == 0)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CryptographicAttributeObjectCollection.cs (3)
141if (index > array.Length - Count) 144for (int i = 0; i < Count; i++) 157if (index > array.Length - Count)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CryptographicAttributeObjectEnumerator.cs (1)
42if (_current >= _attributes.Count - 1)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeBag.cs (1)
84if (_attributes?.Count > 0)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs8PrivateKeyInfo.cs (1)
251if (Attributes.Count > 0)
System\Security\Cryptography\Pkcs\CmsSigner.cs (2)
321if (SignedAttributes?.Count > 0 || contentTypeOid != Oids.Pkcs7Data) 382if (UnsignedAttributes != null && UnsignedAttributes.Count > 0)