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)
28
descriptors.CopyTo(
_descriptors
, 0);
33
internal ServiceDescriptor[] Descriptors =>
_descriptors
;
37
foreach (ServiceDescriptor descriptor in
_descriptors
)
318
for (int i =
_descriptors
.Length - 1; i >= 0; i--)
320
if (KeysMatch(
_descriptors
[i].ServiceKey, cacheKey.ServiceKey))
322
if (TryCreateExact(
_descriptors
[i], cacheKey, callSiteChain, slot) is { } callSite)
328
for (int i =
_descriptors
.Length - 1; i >= 0; i--)
330
if (KeysMatch(
_descriptors
[i].ServiceKey, cacheKey.ServiceKey))
332
if (TryCreateOpenGeneric(
_descriptors
[i], cacheKey, callSiteChain, slot, throwOnConstraintViolation: false) is { } callSite)