57 references to IfNull
Microsoft.Extensions.Telemetry (57)
Buffering\GlobalBuffer.cs (2)
48
_options = Throw.
IfNull
(options);
52
_ruleSelector = Throw.
IfNull
(ruleSelector);
Buffering\GlobalBufferLoggingBuilderExtensions.cs (5)
35
_ = Throw.
IfNull
(builder);
36
_ = Throw.
IfNull
(configuration);
58
_ = Throw.
IfNull
(builder);
59
_ = Throw.
IfNull
(configure);
81
_ = Throw.
IfNull
(builder);
Enrichment\ApplicationEnricherServiceCollectionExtensions.cs (5)
24
_ = Throw.
IfNull
(services);
39
_ = Throw.
IfNull
(services);
40
_ = Throw.
IfNull
(configure);
56
_ = Throw.
IfNull
(services);
57
_ = 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)
26
_ = Throw.
IfNull
(name);
32
_ = Throw.
IfNull
(name);
38
_ = 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)
144
_ = Throw.
IfNull
(categoryName);
168
_ = 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)
32
_ = Throw.
IfNull
(builder);
50
_ = Throw.
IfNull
(builder);
51
_ = Throw.
IfNull
(configuration);
81
_ = Throw.
IfNull
(builder);
82
_ = Throw.
IfNull
(configure);
108
_ = Throw.
IfNull
(builder);
130
_ = Throw.
IfNull
(builder);
147
_ = Throw.
IfNull
(builder);
148
_ = 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);