8 references to IndexOf
System.Collections (6)
System\Collections\Generic\OrderedDictionary.cs (6)
535
public bool ContainsKey(TKey key) =>
IndexOf
(key) >= 0;
734
int index =
IndexOf
(key);
904
int index =
IndexOf
(key);
1146
int index =
IndexOf
(item.Key);
1570
int IList<TKey>.IndexOf(TKey item) => _dictionary.
IndexOf
(item);
1594
int IList.IndexOf(object? value) => value is TKey key ? _dictionary.
IndexOf
(key) : -1;
System.Text.Json (2)
System\Text\Json\Nodes\JsonObject.cs (1)
253
int index = dict.
IndexOf
(propertyName);
System\Text\Json\Nodes\JsonObject.IList.cs (1)
63
return Dictionary.
IndexOf
(propertyName);