167 references to ThrowIfNotEmpty
System.Security.Cryptography (167)
src\libraries\Common\src\System\Security\Cryptography\Asn1\AlgorithmIdentifierAsn.xml.cs (2)
62reader.ThrowIfNotEmpty(); 105sequenceReader.ThrowIfNotEmpty();
src\libraries\Common\src\System\Security\Cryptography\Asn1\AttributeAsn.xml.cs (2)
65reader.ThrowIfNotEmpty(); 119sequenceReader.ThrowIfNotEmpty();
src\libraries\Common\src\System\Security\Cryptography\Asn1\CurveAsn.xml.cs (2)
50reader.ThrowIfNotEmpty(); 120sequenceReader.ThrowIfNotEmpty();
src\libraries\Common\src\System\Security\Cryptography\Asn1\DigestInfoAsn.xml.cs (2)
43reader.ThrowIfNotEmpty(); 89sequenceReader.ThrowIfNotEmpty();
src\libraries\Common\src\System\Security\Cryptography\Asn1\DirectoryStringAsn.xml.cs (1)
120reader.ThrowIfNotEmpty();
src\libraries\Common\src\System\Security\Cryptography\Asn1\DssParms.xml.cs (2)
45reader.ThrowIfNotEmpty(); 80sequenceReader.ThrowIfNotEmpty();
src\libraries\Common\src\System\Security\Cryptography\Asn1\ECDomainParameters.xml.cs (1)
78reader.ThrowIfNotEmpty();
src\libraries\Common\src\System\Security\Cryptography\Asn1\ECPrivateKey.xml.cs (5)
61reader.ThrowIfNotEmpty(); 99sequenceReader.ThrowIfNotEmpty(); 120explicitReader.ThrowIfNotEmpty(); 137explicitReader.ThrowIfNotEmpty(); 141sequenceReader.ThrowIfNotEmpty();
src\libraries\Common\src\System\Security\Cryptography\Asn1\EdiPartyNameAsn.xml.cs (4)
52reader.ThrowIfNotEmpty(); 92explicitReader.ThrowIfNotEmpty(); 98explicitReader.ThrowIfNotEmpty(); 101sequenceReader.ThrowIfNotEmpty();
src\libraries\Common\src\System\Security\Cryptography\Asn1\EncryptedPrivateKeyInfoAsn.xml.cs (2)
43reader.ThrowIfNotEmpty(); 89sequenceReader.ThrowIfNotEmpty();
src\libraries\Common\src\System\Security\Cryptography\Asn1\FieldID.xml.cs (2)
57reader.ThrowIfNotEmpty(); 95sequenceReader.ThrowIfNotEmpty();
src\libraries\Common\src\System\Security\Cryptography\Asn1\GeneralNameAsn.xml.cs (2)
180reader.ThrowIfNotEmpty(); 235explicitReader.ThrowIfNotEmpty();
src\libraries\Common\src\System\Security\Cryptography\Asn1\OtherNameAsn.xml.cs (3)
59reader.ThrowIfNotEmpty(); 99explicitReader.ThrowIfNotEmpty(); 102sequenceReader.ThrowIfNotEmpty();
src\libraries\Common\src\System\Security\Cryptography\Asn1\PBEParameter.xml.cs (3)
43reader.ThrowIfNotEmpty(); 90sequenceReader.ThrowIfNotEmpty(); 94sequenceReader.ThrowIfNotEmpty();
src\libraries\Common\src\System\Security\Cryptography\Asn1\PBES2Params.xml.cs (2)
43reader.ThrowIfNotEmpty(); 77sequenceReader.ThrowIfNotEmpty();
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pbkdf2Params.xml.cs (5)
30reader.ThrowIfNotEmpty(); 78reader.ThrowIfNotEmpty(); 114sequenceReader.ThrowIfNotEmpty(); 127sequenceReader.ThrowIfNotEmpty(); 144sequenceReader.ThrowIfNotEmpty();
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pbkdf2SaltChoice.xml.cs (1)
71reader.ThrowIfNotEmpty();
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\CertBagAsn.xml.cs (3)
59reader.ThrowIfNotEmpty(); 99explicitReader.ThrowIfNotEmpty(); 102sequenceReader.ThrowIfNotEmpty();
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\MacData.xml.cs (6)
30reader.ThrowIfNotEmpty(); 33reader.ThrowIfNotEmpty(); 76reader.ThrowIfNotEmpty(); 128sequenceReader.ThrowIfNotEmpty(); 138defaultReader.ThrowIfNotEmpty(); 144sequenceReader.ThrowIfNotEmpty();
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\PfxAsn.xml.cs (3)
50reader.ThrowIfNotEmpty(); 84sequenceReader.ThrowIfNotEmpty(); 98sequenceReader.ThrowIfNotEmpty();
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\SafeBagAsn.xml.cs (3)
74reader.ThrowIfNotEmpty(); 115explicitReader.ThrowIfNotEmpty(); 139sequenceReader.ThrowIfNotEmpty();
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\ContentInfoAsn.xml.cs (3)
59reader.ThrowIfNotEmpty(); 99explicitReader.ThrowIfNotEmpty(); 102sequenceReader.ThrowIfNotEmpty();
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\EncryptedContentInfoAsn.xml.cs (2)
57reader.ThrowIfNotEmpty(); 109sequenceReader.ThrowIfNotEmpty();
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\EncryptedDataAsn.xml.cs (3)
58reader.ThrowIfNotEmpty(); 93sequenceReader.ThrowIfNotEmpty(); 119sequenceReader.ThrowIfNotEmpty();
src\libraries\Common\src\System\Security\Cryptography\Asn1\PrivateKeyInfoAsn.xml.cs (3)
60reader.ThrowIfNotEmpty(); 98sequenceReader.ThrowIfNotEmpty(); 134sequenceReader.ThrowIfNotEmpty();
src\libraries\Common\src\System\Security\Cryptography\Asn1\PssParamsAsn.xml.cs (16)
36reader.ThrowIfNotEmpty(); 40reader.ThrowIfNotEmpty(); 46reader.ThrowIfNotEmpty(); 49reader.ThrowIfNotEmpty(); 55reader.ThrowIfNotEmpty(); 58reader.ThrowIfNotEmpty(); 144reader.ThrowIfNotEmpty(); 182explicitReader.ThrowIfNotEmpty(); 195explicitReader.ThrowIfNotEmpty(); 210explicitReader.ThrowIfNotEmpty(); 213explicitReader.ThrowIfNotEmpty(); 221defaultReader.ThrowIfNotEmpty(); 233explicitReader.ThrowIfNotEmpty(); 236explicitReader.ThrowIfNotEmpty(); 244defaultReader.ThrowIfNotEmpty(); 250sequenceReader.ThrowIfNotEmpty();
src\libraries\Common\src\System\Security\Cryptography\Asn1\Rc2CbcParameters.xml.cs (3)
43reader.ThrowIfNotEmpty(); 80sequenceReader.ThrowIfNotEmpty(); 94sequenceReader.ThrowIfNotEmpty();
src\libraries\Common\src\System\Security\Cryptography\Asn1\RSAPrivateKeyAsn.xml.cs (3)
57reader.ThrowIfNotEmpty(); 91sequenceReader.ThrowIfNotEmpty(); 103sequenceReader.ThrowIfNotEmpty();
src\libraries\Common\src\System\Security\Cryptography\Asn1\RSAPublicKeyAsn.xml.cs (2)
43reader.ThrowIfNotEmpty(); 77sequenceReader.ThrowIfNotEmpty();
src\libraries\Common\src\System\Security\Cryptography\Asn1\SpecifiedECDomain.xml.cs (3)
70reader.ThrowIfNotEmpty(); 107sequenceReader.ThrowIfNotEmpty(); 138sequenceReader.ThrowIfNotEmpty();
src\libraries\Common\src\System\Security\Cryptography\Asn1\SubjectPublicKeyInfoAsn.xml.cs (2)
43reader.ThrowIfNotEmpty(); 89sequenceReader.ThrowIfNotEmpty();
src\libraries\Common\src\System\Security\Cryptography\Asn1\X509ExtensionAsn.xml.cs (3)
28reader.ThrowIfNotEmpty(); 78reader.ThrowIfNotEmpty(); 136sequenceReader.ThrowIfNotEmpty();
src\libraries\Common\src\System\Security\Cryptography\X509Certificates\X509CertificateLoader.Pkcs12.cs (5)
190outer.ThrowIfNotEmpty(); 279outer.ThrowIfNotEmpty(); 698reader.ThrowIfNotEmpty(); 807reader.ThrowIfNotEmpty(); 835reader.ThrowIfNotEmpty();
System\Security\Cryptography\AsymmetricAlgorithmHelpers.Der.cs (2)
74reader.ThrowIfNotEmpty(); 77sequenceReader.ThrowIfNotEmpty();
System\Security\Cryptography\X509Certificates\Asn1\AccessDescriptionAsn.xml.cs (2)
50reader.ThrowIfNotEmpty(); 84sequenceReader.ThrowIfNotEmpty();
System\Security\Cryptography\X509Certificates\Asn1\BasicConstraintsAsn.xml.cs (4)
27reader.ThrowIfNotEmpty(); 74reader.ThrowIfNotEmpty(); 127sequenceReader.ThrowIfNotEmpty(); 133sequenceReader.ThrowIfNotEmpty();
System\Security\Cryptography\X509Certificates\Asn1\CertificateAsn.xml.cs (2)
45reader.ThrowIfNotEmpty(); 92sequenceReader.ThrowIfNotEmpty();
System\Security\Cryptography\X509Certificates\Asn1\CertificatePolicyMappingAsn.xml.cs (2)
57reader.ThrowIfNotEmpty(); 91sequenceReader.ThrowIfNotEmpty();
System\Security\Cryptography\X509Certificates\Asn1\CertificateTemplateAsn.xml.cs (4)
57reader.ThrowIfNotEmpty(); 92sequenceReader.ThrowIfNotEmpty(); 105sequenceReader.ThrowIfNotEmpty(); 111sequenceReader.ThrowIfNotEmpty();
System\Security\Cryptography\X509Certificates\Asn1\CertificationRequestAsn.xml.cs (2)
45reader.ThrowIfNotEmpty(); 92sequenceReader.ThrowIfNotEmpty();
System\Security\Cryptography\X509Certificates\Asn1\CertificationRequestInfoAsn.xml.cs (2)
71reader.ThrowIfNotEmpty(); 132sequenceReader.ThrowIfNotEmpty();
System\Security\Cryptography\X509Certificates\Asn1\DistributionPointAsn.xml.cs (3)
70reader.ThrowIfNotEmpty(); 111explicitReader.ThrowIfNotEmpty(); 142sequenceReader.ThrowIfNotEmpty();
System\Security\Cryptography\X509Certificates\Asn1\DistributionPointNameAsn.xml.cs (1)
95reader.ThrowIfNotEmpty();
System\Security\Cryptography\X509Certificates\Asn1\PolicyConstraintsAsn.xml.cs (4)
53reader.ThrowIfNotEmpty(); 94sequenceReader.ThrowIfNotEmpty(); 109sequenceReader.ThrowIfNotEmpty(); 115sequenceReader.ThrowIfNotEmpty();
System\Security\Cryptography\X509Certificates\Asn1\PolicyInformationAsn.xml.cs (2)
62reader.ThrowIfNotEmpty(); 105sequenceReader.ThrowIfNotEmpty();
System\Security\Cryptography\X509Certificates\Asn1\TbsCertificateAsn.xml.cs (8)
38reader.ThrowIfNotEmpty(); 41reader.ThrowIfNotEmpty(); 149reader.ThrowIfNotEmpty(); 193explicitReader.ThrowIfNotEmpty(); 196explicitReader.ThrowIfNotEmpty(); 204defaultReader.ThrowIfNotEmpty(); 278explicitReader.ThrowIfNotEmpty(); 282sequenceReader.ThrowIfNotEmpty();
System\Security\Cryptography\X509Certificates\Asn1\TimeAsn.xml.cs (1)
71reader.ThrowIfNotEmpty();
System\Security\Cryptography\X509Certificates\Asn1\ValidityAsn.xml.cs (2)
43reader.ThrowIfNotEmpty(); 77sequenceReader.ThrowIfNotEmpty();
System\Security\Cryptography\X509Certificates\CertificatePolicy.cs (4)
295reader.ThrowIfNotEmpty(); 322reader.ThrowIfNotEmpty(); 344reader.ThrowIfNotEmpty(); 373reader.ThrowIfNotEmpty();
System\Security\Cryptography\X509Certificates\CertificateRequest.Load.cs (3)
144outer.ThrowIfNotEmpty(); 166pkcs10Asn.ThrowIfNotEmpty(); 233extsReader.ThrowIfNotEmpty();
System\Security\Cryptography\X509Certificates\CertificateRevocationListBuilder.cs (1)
323revokedCertificate.ThrowIfNotEmpty();
System\Security\Cryptography\X509Certificates\CertificateRevocationListBuilder.Load.cs (4)
106certificateList.ThrowIfNotEmpty(); 144crlExtensionsExplicit.ThrowIfNotEmpty(); 177crlNumberReader.ThrowIfNotEmpty(); 182tbsCertList.ThrowIfNotEmpty();
System\Security\Cryptography\X509Certificates\OpenSslCrlCache.cs (1)
329reader.ThrowIfNotEmpty();
System\Security\Cryptography\X509Certificates\OpenSslX509ChainProcessor.cs (1)
1235reader.ThrowIfNotEmpty();
System\Security\Cryptography\X509Certificates\X500DistinguishedName.cs (1)
136outer.ThrowIfNotEmpty();
System\Security\Cryptography\X509Certificates\X500RelativeDistinguishedName.cs (2)
39typeAndValue.ThrowIfNotEmpty(); 55typeAndValue.ThrowIfNotEmpty();
System\Security\Cryptography\X509Certificates\X509AuthorityInformationAccessExtension.cs (1)
242reader.ThrowIfNotEmpty();
System\Security\Cryptography\X509Certificates\X509AuthorityKeyIdentifierExtension.cs (2)
519reader.ThrowIfNotEmpty(); 580aki.ThrowIfNotEmpty();
System\Security\Cryptography\X509Certificates\X509KeyUsageExtension.cs (1)
72reader.ThrowIfNotEmpty();
System\Security\Cryptography\X509Certificates\X509SubjectAlternativeNameExtension.cs (1)
84outer.ThrowIfNotEmpty();