1 write to _items
Microsoft.Extensions.DependencyInjection (1)
ServiceLookup\CallSiteFactory.cs (1)
907newCacheItem._items = _items ?? new List<ServiceDescriptor>();
13 references to _items
Microsoft.Extensions.DependencyInjection (13)
ServiceLookup\CallSiteFactory.cs (13)
835if (_items != null && _items.Count > 0) 837return _items[_items.Count - 1]; 851Debug.Assert(_items == null); 855return 1 + (_items?.Count ?? 0); 873return _items![index - 1]; 884if (_items != null) 886int index = _items.IndexOf(descriptor); 889return _items.Count - (index + 1); 901Debug.Assert(_items == null); 907newCacheItem._items = _items ?? new List<ServiceDescriptor>(); 908newCacheItem._items.Add(descriptor);