12 references to _descriptorLookup
Microsoft.Extensions.DependencyInjection (12)
ServiceLookup\CallSiteFactory.cs (12)
84
_descriptorLookup
.TryGetValue(cacheKey, out ServiceDescriptorCacheItem cacheItem);
85
_descriptorLookup
[cacheKey] = cacheItem.Add(descriptor);
154
if (
_descriptorLookup
.TryGetValue(ServiceIdentifier.FromDescriptor(serviceDescriptor), out ServiceDescriptorCacheItem item))
169
if (
_descriptorLookup
.TryGetValue(serviceIdentifier, out ServiceDescriptorCacheItem descriptor))
211
if (
_descriptorLookup
.TryGetValue(serviceIdentifier, out ServiceDescriptorCacheItem descriptor))
220
if (
_descriptorLookup
.TryGetValue(catchAllIdentifier, out descriptor))
234
if (
_descriptorLookup
.TryGetValue(genericIdentifier, out ServiceDescriptorCacheItem descriptor))
243
if (
_descriptorLookup
.TryGetValue(catchAllIdentifier, out descriptor))
290
_descriptorLookup
.TryGetValue(cacheKey, out ServiceDescriptorCacheItem descriptors))
671
if (
_descriptorLookup
.ContainsKey(serviceIdentifier))
676
if (serviceIdentifier.ServiceKey != null &&
_descriptorLookup
.ContainsKey(new ServiceIdentifier(KeyedService.AnyKey, serviceType)))
685
return genericDefinition == typeof(IEnumerable<>) ||
_descriptorLookup
.ContainsKey(serviceIdentifier.GetGenericTypeDefinition());