5 writes to Location
Microsoft.Extensions.DependencyInjection (5)
ServiceLookup\ResultCache.cs (5)
19
Location
= lifetime;
28
Location
= CallSiteResultCacheLocation.Root;
31
Location
= CallSiteResultCacheLocation.Scope;
34
Location
= CallSiteResultCacheLocation.Dispose;
37
Location
= CallSiteResultCacheLocation.None;
9 references to Location
Microsoft.Extensions.DependencyInjection (9)
CallSiteJsonFormatter.cs (1)
56
childContext.WriteProperty("cache", callSite.Cache.
Location
);
ServiceLookup\CallSiteFactory.cs (2)
303
cacheLocation = GetCommonCacheLocation(cacheLocation, callSite.Cache.
Location
);
350
cacheLocation = GetCommonCacheLocation(cacheLocation, callSite.Cache.
Location
);
ServiceLookup\CallSiteVisitor.cs (1)
24
switch (callSite.Cache.
Location
)
ServiceLookup\Expressions\ExpressionResolverBuilder.cs (2)
59
if (callSite.Cache.
Location
== CallSiteResultCacheLocation.Scope)
80
if (callSite.Cache.
Location
== CallSiteResultCacheLocation.Scope)
ServiceLookup\ILEmit\ILEmitResolverBuilder.cs (2)
74
if (callSite.Cache.
Location
== CallSiteResultCacheLocation.Scope)
326
if (callSite.Cache.
Location
== CallSiteResultCacheLocation.Scope)
ServiceProvider.cs (1)
216
if (callSite.Cache.
Location
== CallSiteResultCacheLocation.Root)