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)
57
public int Count =>
_items
== null ? 0 :
_items
.Count;
76
Debug.Assert(index >= 0 && index < Count &&
_items
!= null);
77
return
_items
[index];
85
if (
_items
== null)
90
_items
[index] = value;
98
if (
_items
== null)
103
_items
.Insert(index, value);
110
Debug.Assert(
_items
!= null);
111
_items
.RemoveAt(index);
154
_items
?.Clear();