30 references to ThrowIfNull
Microsoft.AspNetCore.DataProtection.Extensions (30)
DataProtectionAdvancedExtensions.cs (12)
25ArgumentNullThrowHelper.ThrowIfNull(protector); 26ArgumentNullThrowHelper.ThrowIfNull(plaintext); 41ArgumentNullThrowHelper.ThrowIfNull(protector); 42ArgumentNullThrowHelper.ThrowIfNull(plaintext); 58ArgumentNullThrowHelper.ThrowIfNull(protector); 59ArgumentNullThrowHelper.ThrowIfNull(plaintext); 72ArgumentNullThrowHelper.ThrowIfNull(protector); 90ArgumentNullThrowHelper.ThrowIfNull(protector); 91ArgumentNullThrowHelper.ThrowIfNull(protectedData); 111ArgumentNullThrowHelper.ThrowIfNull(purpose); 118ArgumentNullThrowHelper.ThrowIfNull(plaintext); 125ArgumentNullThrowHelper.ThrowIfNull(protectedData);
DataProtectionProvider.cs (9)
42ArgumentNullThrowHelper.ThrowIfNull(keyDirectory); 59ArgumentNullThrowHelper.ThrowIfNull(keyDirectory); 60ArgumentNullThrowHelper.ThrowIfNull(setupAction); 75ArgumentNullThrowHelper.ThrowIfNull(certificate); 94ArgumentNullThrowHelper.ThrowIfNull(keyDirectory); 95ArgumentNullThrowHelper.ThrowIfNull(certificate); 114ArgumentNullThrowHelper.ThrowIfNull(keyDirectory); 115ArgumentNullThrowHelper.ThrowIfNull(setupAction); 116ArgumentNullThrowHelper.ThrowIfNull(certificate);
src\Shared\ThrowHelpers\ArgumentThrowHelper.cs (2)
26ArgumentNullThrowHelper.ThrowIfNull(argument); 51ArgumentNullThrowHelper.ThrowIfNull(argument);
TimeLimitedDataProtector.cs (7)
31ArgumentNullThrowHelper.ThrowIfNull(purpose); 50ArgumentNullThrowHelper.ThrowIfNull(plaintext); 62ArgumentNullThrowHelper.ThrowIfNull(protectedData); 69ArgumentNullThrowHelper.ThrowIfNull(protectedData); 109ArgumentNullThrowHelper.ThrowIfNull(purpose); 116ArgumentNullThrowHelper.ThrowIfNull(plaintext); 124ArgumentNullThrowHelper.ThrowIfNull(protectedData);