1 write to _descriptors
Microsoft.Extensions.DependencyInjection (1)
ServiceLookup\CallSiteFactory.cs (1)
27_descriptors = new ServiceDescriptor[descriptors.Count];
9 references to _descriptors
Microsoft.Extensions.DependencyInjection (9)
ServiceLookup\CallSiteFactory.cs (9)
28descriptors.CopyTo(_descriptors, 0); 33internal ServiceDescriptor[] Descriptors => _descriptors; 37foreach (ServiceDescriptor descriptor in _descriptors) 318for (int i = _descriptors.Length - 1; i >= 0; i--) 320if (KeysMatch(_descriptors[i].ServiceKey, cacheKey.ServiceKey)) 322if (TryCreateExact(_descriptors[i], cacheKey, callSiteChain, slot) is { } callSite) 328for (int i = _descriptors.Length - 1; i >= 0; i--) 330if (KeysMatch(_descriptors[i].ServiceKey, cacheKey.ServiceKey)) 332if (TryCreateOpenGeneric(_descriptors[i], cacheKey, callSiteChain, slot, throwOnConstraintViolation: false) is { } callSite)