1 write to _items
Microsoft.Extensions.DependencyInjection (1)
ServiceLookup\CallSiteFactory.cs (1)
908newCacheItem._items = _items ?? new List<ServiceDescriptor>();
13 references to _items
Microsoft.Extensions.DependencyInjection (13)
ServiceLookup\CallSiteFactory.cs (13)
836if (_items != null && _items.Count > 0) 838return _items[_items.Count - 1]; 852Debug.Assert(_items == null); 856return 1 + (_items?.Count ?? 0); 874return _items![index - 1]; 885if (_items != null) 887int index = _items.IndexOf(descriptor); 890return _items.Count - (index + 1); 902Debug.Assert(_items == null); 908newCacheItem._items = _items ?? new List<ServiceDescriptor>(); 909newCacheItem._items.Add(descriptor);