125 references to IfNull
Microsoft.AspNetCore.Diagnostics.Middleware (33)
Buffering\PerIncomingRequestLoggingBuilderExtensions.cs (5)
35
_ = Throw.
IfNull
(builder);
36
_ = Throw.
IfNull
(configuration);
64
_ = Throw.
IfNull
(builder);
65
_ = Throw.
IfNull
(configure);
93
_ = Throw.
IfNull
(builder);
Latency\AddServerTimingHeaderMiddleware.cs (1)
23
_next = Throw.
IfNull
(next);
Latency\CapturePipelineEntryMiddleware.cs (1)
23
_next = Throw.
IfNull
(next);
Latency\CapturePipelineExitMiddleware.cs (1)
26
_next = Throw.
IfNull
(next);
Latency\CaptureResponseTimeMiddleware.cs (1)
26
_next = Throw.
IfNull
(next);
Latency\HttpLatencyTelemetryServiceCollectionExtensions.cs (1)
31
_ = Throw.
IfNull
(services);
Latency\RequestLatencyTelemetryApplicationBuilderExtensions.cs (2)
22
=> Throw.
IfNull
(builder)
34
=> Throw.
IfNull
(builder)
Latency\RequestLatencyTelemetryMiddleware.cs (1)
44
_next = Throw.
IfNull
(next);
Latency\RequestLatencyTelemetryServiceCollectionExtensions.cs (6)
26
=> Throw.
IfNull
(services)
38
_ = Throw.
IfNull
(services);
55
=> Throw.
IfNull
(services)
56
.Configure(Throw.
IfNull
(configure))
67
=> Throw.
IfNull
(services)
68
.Configure<RequestLatencyTelemetryOptions>(Throw.
IfNull
(section))
Logging\HttpLoggingServiceCollectionExtensions.cs (4)
38
_ = Throw.
IfNull
(services);
64
_ = Throw.
IfNull
(services);
65
_ = Throw.
IfNull
(section);
83
_ = Throw.
IfNull
(services);
Logging\HttpUtilityExtensions.cs (1)
38
_ = Throw.
IfNull
(request);
Logging\Internal\LoggingRedactionOptionsConfigureOptions.cs (1)
31
_section = Throw.
IfNull
(section);
Logging\RequestHeadersEnricherServiceCollectionExtensions.cs (3)
23
_ = Throw.
IfNull
(services);
39
_ = Throw.
IfNull
(services);
40
_ = Throw.
IfNull
(configure);
Logging\RequestHeadersLogEnricher.cs (1)
43
_redactorProvider = Throw.
IfNull
(redactorProvider);
src\Shared\BufferWriterPool\BufferWriterPooledObjectPolicy.cs (1)
63
_ = Throw.
IfNull
(obj);
src\Shared\Debugger\DebuggerExtensions.cs (3)
27
_ = Throw.
IfNull
(services);
41
_ = Throw.
IfNull
(services);
55
_ = Throw.
IfNull
(services);
Microsoft.Extensions.Http.Diagnostics (35)
Http\HttpDependencyMetadataResolver.cs (1)
46
_ = Throw.
IfNull
(dependencyMetadata);
Http\HttpDiagnosticsHttpRequestMessageExtensions.cs (3)
24
_ = Throw.
IfNull
(request);
25
_ = Throw.
IfNull
(metadata);
41
_ = Throw.
IfNull
(request);
Http\HttpDiagnosticsHttpWebRequestExtensions.cs (3)
21
_ = Throw.
IfNull
(request);
22
_ = Throw.
IfNull
(metadata);
36
_ = Throw.
IfNull
(request);
Http\HttpDiagnosticsServiceCollectionExtensions.cs (2)
24
_ = Throw.
IfNull
(services);
40
_ = Throw.
IfNull
(services);
Latency\HttpClientLatencyTelemetryExtensions.cs (3)
29
_ = Throw.
IfNull
(services);
64
_ = Throw.
IfNull
(section);
83
_ = Throw.
IfNull
(configure);
Logging\HttpClientLoggingHttpClientBuilderExtensions.cs (10)
36
_ = Throw.
IfNull
(builder);
58
_ = Throw.
IfNull
(builder);
76
_ = Throw.
IfNull
(builder);
77
_ = Throw.
IfNull
(section);
100
_ = Throw.
IfNull
(builder);
101
_ = Throw.
IfNull
(section);
119
_ = Throw.
IfNull
(builder);
120
_ = Throw.
IfNull
(configure);
143
_ = Throw.
IfNull
(builder);
144
_ = Throw.
IfNull
(configure);
Logging\HttpClientLoggingServiceCollectionExtensions.cs (6)
33
_ = Throw.
IfNull
(services);
63
_ = Throw.
IfNull
(services);
64
_ = Throw.
IfNull
(section);
85
_ = Throw.
IfNull
(services);
86
_ = Throw.
IfNull
(configure);
103
=> Throw.
IfNull
(services).AddActivatedSingleton<IHttpClientLogEnricher, T>();
Logging\Internal\HttpResponseBodyReader.cs (1)
35
_ = Throw.
IfNull
(responseOptions);
Logging\Internal\LoggingOptionsConfigureOptions.cs (1)
32
_section = Throw.
IfNull
(section);
Logging\Internal\TelemetryCommonHttpExtensions.cs (1)
15
_ = Throw.
IfNull
(services);
src\Shared\BufferWriterPool\BufferWriterPooledObjectPolicy.cs (1)
63
_ = Throw.
IfNull
(obj);
src\Shared\Debugger\DebuggerExtensions.cs (3)
27
_ = Throw.
IfNull
(services);
41
_ = Throw.
IfNull
(services);
55
_ = Throw.
IfNull
(services);
Microsoft.Extensions.Telemetry (57)
Buffering\GlobalBuffer.cs (2)
49
_options = Throw.
IfNull
(options);
53
_ruleSelector = Throw.
IfNull
(ruleSelector);
Buffering\GlobalBufferLoggingBuilderExtensions.cs (5)
32
_ = Throw.
IfNull
(builder);
33
_ = Throw.
IfNull
(configuration);
58
_ = Throw.
IfNull
(builder);
59
_ = Throw.
IfNull
(configure);
81
_ = Throw.
IfNull
(builder);
Enrichment\ApplicationEnricherServiceCollectionExtensions.cs (5)
66
_ = Throw.
IfNull
(services);
81
_ = Throw.
IfNull
(services);
82
_ = Throw.
IfNull
(configure);
98
_ = Throw.
IfNull
(services);
99
_ = Throw.
IfNull
(section);
Enrichment\ProcessEnricherServiceCollectionExtensions.cs (5)
24
_ = Throw.
IfNull
(services);
39
_ = Throw.
IfNull
(services);
40
_ = Throw.
IfNull
(configure);
57
_ = Throw.
IfNull
(services);
58
_ = Throw.
IfNull
(section);
Http\ParsedRouteSegments.cs (1)
22
_ = Throw.
IfNull
(segments);
Latency\Internal\LatencyContextRegistrySet.cs (1)
50
_ = Throw.
IfNull
(names);
Latency\Internal\LatencyContextTokenIssuer.cs (3)
25
_ = Throw.
IfNull
(name);
31
_ = Throw.
IfNull
(name);
37
_ = Throw.
IfNull
(name);
Latency\Internal\Registry.cs (1)
66
_ = Throw.
IfNull
(key);
Latency\LatencyConsoleExtensions.cs (5)
26
_ = Throw.
IfNull
(services);
43
_ = Throw.
IfNull
(services);
44
_ = Throw.
IfNull
(configure);
60
_ = Throw.
IfNull
(services);
61
_ = Throw.
IfNull
(section);
Latency\LatencyContextExtensions.cs (5)
25
_ = Throw.
IfNull
(services);
42
_ = Throw.
IfNull
(services);
43
_ = Throw.
IfNull
(configure);
58
_ = Throw.
IfNull
(services);
59
_ = Throw.
IfNull
(section);
Logging\ExtendedLoggerFactory.cs (2)
141
_ = Throw.
IfNull
(categoryName);
165
_ = Throw.
IfNull
(provider);
Logging\LoggingEnrichmentExtensions.cs (5)
34
_ = Throw.
IfNull
(builder);
35
_ = Throw.
IfNull
(configure);
53
_ = Throw.
IfNull
(builder);
54
_ = Throw.
IfNull
(section);
70
_ = Throw.
IfNull
(services);
Logging\LoggingRedactionExtensions.cs (4)
33
_ = Throw.
IfNull
(builder);
34
_ = Throw.
IfNull
(configure);
51
_ = Throw.
IfNull
(builder);
52
_ = Throw.
IfNull
(section);
Sampling\RandomProbabilisticSampler.cs (1)
40
_ruleSelector = Throw.
IfNull
(ruleSelector);
Sampling\SamplingLoggerBuilderExtensions.cs (9)
30
_ = Throw.
IfNull
(builder);
48
_ = Throw.
IfNull
(builder);
49
_ = Throw.
IfNull
(configuration);
79
_ = Throw.
IfNull
(builder);
80
_ = Throw.
IfNull
(configure);
106
_ = Throw.
IfNull
(builder);
128
_ = Throw.
IfNull
(builder);
145
_ = Throw.
IfNull
(builder);
146
_ = Throw.
IfNull
(sampler);
src\Shared\Memoization\MemoizedFunction.cs (2)
68
_function = Throw.
IfNull
(function);
141
_function = Throw.
IfNull
(function);
src\Shared\Pools\PoolFactory.cs (1)
57
_ = Throw.
IfNull
(policy);