1 write to IsRootScope
Microsoft.Extensions.DependencyInjection (1)
ServiceLookup\ServiceProviderEngineScope.cs (1)
27
IsRootScope
= isRootScope;
8 references to IsRootScope
Microsoft.Extensions.DependencyInjection (8)
ServiceLookup\CallSiteRuntimeResolver.cs (2)
25
if (scope.
IsRootScope
&& callSite.Value is object cached)
107
return context.Scope.
IsRootScope
?
ServiceLookup\Expressions\ExpressionResolverBuilder.cs (1)
284
.GetProperty(nameof(ServiceProviderEngineScope.
IsRootScope
), BindingFlags.Instance | BindingFlags.Public)!),
ServiceLookup\ILEmit\ILEmitResolverBuilder.cs (1)
25
nameof(ServiceProviderEngineScope.
IsRootScope
), BindingFlags.Instance | BindingFlags.Public)!.GetMethod!;
ServiceLookup\ServiceProviderEngineScope.cs (3)
218
if (
IsRootScope
&& !RootProvider.IsDisposed())
235
if (!
IsRootScope
)
258
public bool IsScope => !_serviceProvider.
IsRootScope
;
ServiceProvider.cs (1)
285
public bool IsScope => !_serviceProvider.Root.
IsRootScope
;