15 references to ThrowIfNull
Aspire.StackExchange.Redis (15)
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\Shared\ActivitySourceFactory.cs (1)
33
Guard.
ThrowIfNull
(type);
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\StackExchangeRedisConnectionInstrumentation.cs (1)
68
Guard.
ThrowIfNull
(connection);
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\StackExchangeRedisInstrumentation.cs (2)
41
Guard.
ThrowIfNull
(name);
42
Guard.
ThrowIfNull
(connection);
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\TracerProviderBuilderExtensions.cs (11)
41
Guard.
ThrowIfNull
(connection);
56
Guard.
ThrowIfNull
(serviceKey);
75
Guard.
ThrowIfNull
(serviceKey);
76
Guard.
ThrowIfNull
(configure);
95
Guard.
ThrowIfNull
(configure);
112
Guard.
ThrowIfNull
(connection);
113
Guard.
ThrowIfNull
(configure);
139
Guard.
ThrowIfNull
(builder);
182
Guard.
ThrowIfNull
(configure);
197
Guard.
ThrowIfNull
(configure);
215
Guard.
ThrowIfNull
(builder);