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