4 writes to _keys
Microsoft.Maui.Controls (4)
SetterSpecificityList.cs (4)
30
_keys
= Array.Empty<SetterSpecificity>();
38
_keys
= Array.Empty<SetterSpecificity>();
43
_keys
= new SetterSpecificity[initialCapacity];
231
_keys
= newKeys;
14 references to _keys
Microsoft.Maui.Controls (14)
SetterSpecificityList.cs (14)
55
return index < 0 ? default :
_keys
[index];
83
if (index >= 0 &&
_keys
[index] == specificity)
96
return index < 0 ? default :
_keys
[index];
106
return index < 0 ? default : new KeyValuePair<SetterSpecificity, T>(
_keys
[index], _values[index]);
119
var indexSpecificity =
_keys
[index];
136
if (
_keys
.Length == count)
143
Array.Copy(
_keys
, lo,
_keys
, lo + 1, count - lo);
147
_keys
[lo] = key;
163
var indexSpecificity =
_keys
[index];
191
var indexSpecificity =
_keys
[index];
197
Array.Copy(
_keys
, nextIndex,
_keys
, index, count - nextIndex);
228
Array.Copy(
_keys
, newKeys, currentCapacity);