32 references to ThrowIfNull
Microsoft.Extensions.Diagnostics.HealthChecks (32)
DependencyInjection\HealthChecksBuilder.cs (1)
21ArgumentNullThrowHelper.ThrowIfNull(registration);
DependencyInjection\HealthChecksBuilderAddCheckExtensions.cs (13)
62ArgumentNullThrowHelper.ThrowIfNull(builder); 63ArgumentNullThrowHelper.ThrowIfNull(name); 64ArgumentNullThrowHelper.ThrowIfNull(instance); 123ArgumentNullThrowHelper.ThrowIfNull(builder); 124ArgumentNullThrowHelper.ThrowIfNull(name); 153ArgumentNullThrowHelper.ThrowIfNull(builder); 154ArgumentNullThrowHelper.ThrowIfNull(name); 182ArgumentNullThrowHelper.ThrowIfNull(builder); 183ArgumentNullThrowHelper.ThrowIfNull(name); 213ArgumentNullThrowHelper.ThrowIfNull(builder); 214ArgumentNullThrowHelper.ThrowIfNull(name); 251ArgumentNullThrowHelper.ThrowIfNull(builder); 252ArgumentNullThrowHelper.ThrowIfNull(name);
DependencyInjection\HealthChecksBuilderDelegateExtensions.cs (12)
54ArgumentNullThrowHelper.ThrowIfNull(builder); 55ArgumentNullThrowHelper.ThrowIfNull(name); 56ArgumentNullThrowHelper.ThrowIfNull(check); 97ArgumentNullThrowHelper.ThrowIfNull(builder); 98ArgumentNullThrowHelper.ThrowIfNull(name); 99ArgumentNullThrowHelper.ThrowIfNull(check); 140ArgumentNullThrowHelper.ThrowIfNull(builder); 141ArgumentNullThrowHelper.ThrowIfNull(name); 142ArgumentNullThrowHelper.ThrowIfNull(check); 183ArgumentNullThrowHelper.ThrowIfNull(builder); 184ArgumentNullThrowHelper.ThrowIfNull(name); 185ArgumentNullThrowHelper.ThrowIfNull(check);
HealthCheckPublisherHostedService.cs (5)
38ArgumentNullThrowHelper.ThrowIfNull(healthCheckService); 39ArgumentNullThrowHelper.ThrowIfNull(healthCheckServiceOptions); 40ArgumentNullThrowHelper.ThrowIfNull(healthCheckPublisherOptions); 41ArgumentNullThrowHelper.ThrowIfNull(logger); 42ArgumentNullThrowHelper.ThrowIfNull(publishers);
src\Shared\NonCapturingTimer\NonCapturingTimer.cs (1)
18ArgumentNullThrowHelper.ThrowIfNull(callback);