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