25 references to Dictionary
System.Text.Json (25)
System\Text\Json\Nodes\JsonObject.cs (6)
125
return
Dictionary
.TryGetValue(propertyName, out jsonNode);
144
foreach (KeyValuePair<string, JsonNode?> entry in
Dictionary
)
174
OrderedDictionary<string, JsonNode?> currentDict =
Dictionary
;
175
OrderedDictionary<string, JsonNode?> otherDict = jsonObject.
Dictionary
;
235
OrderedDictionary<string, JsonNode?> dict =
Dictionary
;
275
foreach (KeyValuePair<string, JsonNode?> item in
Dictionary
)
System\Text\Json\Nodes\JsonObject.IDictionary.cs (11)
30
Dictionary
.Add(propertyName, value);
83
return
Dictionary
.ContainsKey(propertyName);
89
public int Count =>
Dictionary
.Count;
105
bool success =
Dictionary
.Remove(propertyName, out JsonNode? removedNode);
122
((IDictionary<string, JsonNode?>)
Dictionary
).Contains(item);
142
((IDictionary<string, JsonNode?>)
Dictionary
).CopyTo(array, index);
150
public IEnumerator<KeyValuePair<string, JsonNode?>> GetEnumerator() =>
Dictionary
.GetEnumerator();
166
ICollection<string> IDictionary<string, JsonNode?>.Keys =>
Dictionary
.Keys;
171
ICollection<JsonNode?> IDictionary<string, JsonNode?>.Values =>
Dictionary
.Values;
191
return
Dictionary
.TryGetValue(propertyName, out jsonNode);
205
IEnumerator IEnumerable.GetEnumerator() =>
Dictionary
.GetEnumerator();
System\Text\Json\Nodes\JsonObject.IList.cs (8)
15
public KeyValuePair<string, JsonNode?> GetAt(int index) =>
Dictionary
.GetAt(index);
28
OrderedDictionary<string, JsonNode?> dictionary =
Dictionary
;
42
OrderedDictionary<string, JsonNode?> dictionary =
Dictionary
;
57
return
Dictionary
.IndexOf(propertyName);
71
Dictionary
.Insert(index, propertyName, value);
80
KeyValuePair<string, JsonNode?> existing =
Dictionary
.GetAt(index);
81
Dictionary
.RemoveAt(index);
93
int IList<KeyValuePair<string, JsonNode?>>.IndexOf(KeyValuePair<string, JsonNode?> item) => ((IList<KeyValuePair<string, JsonNode?>>)
Dictionary
).IndexOf(item);