84 references to ArgumentNullThrowHelper
Microsoft.AspNetCore.DataProtection (84)
ActivatorExtensions.cs (1)
25ArgumentNullThrowHelper.ThrowIfNull(implementationTypeName);
AuthenticatedEncryption\ConfigurationModel\AuthenticatedEncryptorDescriptor.cs (2)
23ArgumentNullThrowHelper.ThrowIfNull(configuration); 24ArgumentNullThrowHelper.ThrowIfNull(masterKey);
AuthenticatedEncryption\ConfigurationModel\AuthenticatedEncryptorDescriptorDeserializer.cs (1)
23ArgumentNullThrowHelper.ThrowIfNull(element);
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorDescriptor.cs (2)
25ArgumentNullThrowHelper.ThrowIfNull(configuration); 26ArgumentNullThrowHelper.ThrowIfNull(masterKey);
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorDescriptorDeserializer.cs (1)
24ArgumentNullThrowHelper.ThrowIfNull(element);
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorDescriptor.cs (2)
25ArgumentNullThrowHelper.ThrowIfNull(configuration); 26ArgumentNullThrowHelper.ThrowIfNull(masterKey);
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorDescriptorDeserializer.cs (1)
24ArgumentNullThrowHelper.ThrowIfNull(element);
AuthenticatedEncryption\ConfigurationModel\ManagedAuthenticatedEncryptorDescriptor.cs (2)
24ArgumentNullThrowHelper.ThrowIfNull(configuration); 25ArgumentNullThrowHelper.ThrowIfNull(masterKey);
AuthenticatedEncryption\ConfigurationModel\ManagedAuthenticatedEncryptorDescriptorDeserializer.cs (1)
23ArgumentNullThrowHelper.ThrowIfNull(element);
AuthenticatedEncryption\ConfigurationModel\XmlExtensions.cs (1)
26ArgumentNullThrowHelper.ThrowIfNull(element);
AuthenticatedEncryption\ConfigurationModel\XmlSerializedDescriptorInfo.cs (2)
25ArgumentNullThrowHelper.ThrowIfNull(serializedDescriptorElement); 26ArgumentNullThrowHelper.ThrowIfNull(deserializerType);
DataProtectionBuilderExtensions.cs (33)
42ArgumentNullThrowHelper.ThrowIfNull(builder); 63ArgumentNullThrowHelper.ThrowIfNull(builder); 64ArgumentNullThrowHelper.ThrowIfNull(sink); 86ArgumentNullThrowHelper.ThrowIfNull(builder); 111ArgumentNullThrowHelper.ThrowIfNull(builder); 112ArgumentNullThrowHelper.ThrowIfNull(factory); 134ArgumentNullThrowHelper.ThrowIfNull(builder); 135ArgumentNullThrowHelper.ThrowIfNull(setupAction); 152ArgumentNullThrowHelper.ThrowIfNull(builder); 170ArgumentNullThrowHelper.ThrowIfNull(builder); 171ArgumentNullThrowHelper.ThrowIfNull(directory); 194ArgumentNullThrowHelper.ThrowIfNull(builder); 195ArgumentNullThrowHelper.ThrowIfNull(registryKey); 217ArgumentNullThrowHelper.ThrowIfNull(builder); 218ArgumentNullThrowHelper.ThrowIfNull(certificate); 242ArgumentNullThrowHelper.ThrowIfNull(builder); 243ArgumentNullThrowHelper.ThrowIfNull(thumbprint); 276ArgumentNullThrowHelper.ThrowIfNull(builder); 304ArgumentNullThrowHelper.ThrowIfNull(builder); 324ArgumentNullThrowHelper.ThrowIfNull(builder); 352ArgumentNullThrowHelper.ThrowIfNull(builder); 377ArgumentNullThrowHelper.ThrowIfNull(builder); 378ArgumentNullThrowHelper.ThrowIfNull(protectionDescriptorRule); 403ArgumentNullThrowHelper.ThrowIfNull(builder); 427ArgumentNullThrowHelper.ThrowIfNull(builder); 428ArgumentNullThrowHelper.ThrowIfNull(configuration); 449ArgumentNullThrowHelper.ThrowIfNull(builder); 450ArgumentNullThrowHelper.ThrowIfNull(configuration); 471ArgumentNullThrowHelper.ThrowIfNull(builder); 472ArgumentNullThrowHelper.ThrowIfNull(configuration); 489ArgumentNullThrowHelper.ThrowIfNull(builder); 490ArgumentNullThrowHelper.ThrowIfNull(configuration); 519ArgumentNullThrowHelper.ThrowIfNull(builder);
DataProtectionServiceCollectionExtensions.cs (3)
34ArgumentNullThrowHelper.ThrowIfNull(services); 51ArgumentNullThrowHelper.ThrowIfNull(services); 52ArgumentNullThrowHelper.ThrowIfNull(setupAction);
EphemeralDataProtectionProvider.cs (2)
44ArgumentNullThrowHelper.ThrowIfNull(loggerFactory); 69ArgumentNullThrowHelper.ThrowIfNull(purpose);
Internal\DataProtectionBuilder.cs (1)
20ArgumentNullThrowHelper.ThrowIfNull(services);
KeyManagement\KeyRingBasedDataProtectionProvider.cs (1)
24ArgumentNullThrowHelper.ThrowIfNull(purpose);
KeyManagement\KeyRingBasedDataProtector.cs (4)
62ArgumentNullThrowHelper.ThrowIfNull(purpose); 80ArgumentNullThrowHelper.ThrowIfNull(protectedData); 91ArgumentNullThrowHelper.ThrowIfNull(plaintext); 177ArgumentNullThrowHelper.ThrowIfNull(protectedData);
Repositories\EphemeralXmlRepository.cs (2)
47ArgumentNullThrowHelper.ThrowIfNull(element); 61ArgumentNullThrowHelper.ThrowIfNull(chooseElements);
Repositories\FileSystemXmlRepository.cs (2)
120ArgumentNullThrowHelper.ThrowIfNull(element); 182ArgumentNullThrowHelper.ThrowIfNull(chooseElements);
Repositories\RegistryXmlRepository.cs (3)
34ArgumentNullThrowHelper.ThrowIfNull(registryKey); 138ArgumentNullThrowHelper.ThrowIfNull(element); 162ArgumentNullThrowHelper.ThrowIfNull(chooseElements);
Secret.cs (2)
43ArgumentNullThrowHelper.ThrowIfNull(value); 70ArgumentNullThrowHelper.ThrowIfNull(secret);
XmlEncryption\CertificateResolver.cs (1)
24ArgumentNullThrowHelper.ThrowIfNull(thumbprint);
XmlEncryption\CertificateXmlEncryptor.cs (4)
33ArgumentNullThrowHelper.ThrowIfNull(thumbprint); 34ArgumentNullThrowHelper.ThrowIfNull(certificateResolver); 46ArgumentNullThrowHelper.ThrowIfNull(certificate); 69ArgumentNullThrowHelper.ThrowIfNull(plaintextElement);
XmlEncryption\DpapiNGXmlDecryptor.cs (1)
49ArgumentNullThrowHelper.ThrowIfNull(encryptedElement);
XmlEncryption\DpapiNGXmlEncryptor.cs (2)
37ArgumentNullThrowHelper.ThrowIfNull(protectionDescriptorRule); 59ArgumentNullThrowHelper.ThrowIfNull(plaintextElement);
XmlEncryption\DpapiXmlDecryptor.cs (1)
46ArgumentNullThrowHelper.ThrowIfNull(encryptedElement);
XmlEncryption\DpapiXmlEncryptor.cs (1)
52ArgumentNullThrowHelper.ThrowIfNull(plaintextElement);
XmlEncryption\EncryptedXmlDecryptor.cs (1)
59ArgumentNullThrowHelper.ThrowIfNull(encryptedElement);
XmlEncryption\EncryptedXmlInfo.cs (2)
24ArgumentNullThrowHelper.ThrowIfNull(encryptedElement); 25ArgumentNullThrowHelper.ThrowIfNull(decryptorType);
XmlEncryption\NullXmlDecryptor.cs (1)
23ArgumentNullThrowHelper.ThrowIfNull(encryptedElement);
XmlEncryption\NullXmlEncryptor.cs (1)
47ArgumentNullThrowHelper.ThrowIfNull(plaintextElement);