2 writes to _items
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
AttributeDictionary.cs (2)
87_items = new List<KeyValuePair<string, string?>>(); 100_items = new List<KeyValuePair<string, string?>>();
11 references to _items
Microsoft.AspNetCore.Mvc.ViewFeatures (11)
AttributeDictionary.cs (11)
57public int Count => _items == null ? 0 : _items.Count; 76Debug.Assert(index >= 0 && index < Count && _items != null); 77return _items[index]; 85if (_items == null) 90_items[index] = value; 98if (_items == null) 103_items.Insert(index, value); 110Debug.Assert(_items != null); 111_items.RemoveAt(index); 154_items?.Clear();