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); 154if (_descriptorLookup.TryGetValue(ServiceIdentifier.FromDescriptor(serviceDescriptor), out ServiceDescriptorCacheItem item)) 169if (_descriptorLookup.TryGetValue(serviceIdentifier, out ServiceDescriptorCacheItem descriptor)) 211if (_descriptorLookup.TryGetValue(serviceIdentifier, out ServiceDescriptorCacheItem descriptor)) 220if (_descriptorLookup.TryGetValue(catchAllIdentifier, out descriptor)) 234if (_descriptorLookup.TryGetValue(genericIdentifier, out ServiceDescriptorCacheItem descriptor)) 243if (_descriptorLookup.TryGetValue(catchAllIdentifier, out descriptor)) 290_descriptorLookup.TryGetValue(cacheKey, out ServiceDescriptorCacheItem descriptors)) 671if (_descriptorLookup.ContainsKey(serviceIdentifier)) 676if (serviceIdentifier.ServiceKey != null && _descriptorLookup.ContainsKey(new ServiceIdentifier(KeyedService.AnyKey, serviceType))) 685return genericDefinition == typeof(IEnumerable<>) || _descriptorLookup.ContainsKey(serviceIdentifier.GetGenericTypeDefinition());