25 references to Dictionary
System.Text.Json (25)
System\Text\Json\Nodes\JsonObject.cs (6)
128
return
Dictionary
.TryGetValue(propertyName, out jsonNode);
150
foreach (KeyValuePair<string, JsonNode?> entry in
Dictionary
)
180
OrderedDictionary<string, JsonNode?> currentDict =
Dictionary
;
181
OrderedDictionary<string, JsonNode?> otherDict = jsonObject.
Dictionary
;
249
OrderedDictionary<string, JsonNode?> dict =
Dictionary
;
289
foreach (KeyValuePair<string, JsonNode?> item in
Dictionary
)
System\Text\Json\Nodes\JsonObject.IDictionary.cs (11)
33
Dictionary
.Add(propertyName, value);
89
return
Dictionary
.ContainsKey(propertyName);
95
public int Count =>
Dictionary
.Count;
114
bool success =
Dictionary
.Remove(propertyName, out JsonNode? removedNode);
131
((IDictionary<string, JsonNode?>)
Dictionary
).Contains(item);
151
((IDictionary<string, JsonNode?>)
Dictionary
).CopyTo(array, index);
159
public IEnumerator<KeyValuePair<string, JsonNode?>> GetEnumerator() =>
Dictionary
.GetEnumerator();
175
ICollection<string> IDictionary<string, JsonNode?>.Keys =>
Dictionary
.Keys;
180
ICollection<JsonNode?> IDictionary<string, JsonNode?>.Values =>
Dictionary
.Values;
203
return
Dictionary
.TryGetValue(propertyName, out jsonNode);
217
IEnumerator IEnumerable.GetEnumerator() =>
Dictionary
.GetEnumerator();
System\Text\Json\Nodes\JsonObject.IList.cs (8)
15
public KeyValuePair<string, JsonNode?> GetAt(int index) =>
Dictionary
.GetAt(index);
31
OrderedDictionary<string, JsonNode?> dictionary =
Dictionary
;
45
OrderedDictionary<string, JsonNode?> dictionary =
Dictionary
;
63
return
Dictionary
.IndexOf(propertyName);
80
Dictionary
.Insert(index, propertyName, value);
89
KeyValuePair<string, JsonNode?> existing =
Dictionary
.GetAt(index);
90
Dictionary
.RemoveAt(index);
102
int IList<KeyValuePair<string, JsonNode?>>.IndexOf(KeyValuePair<string, JsonNode?> item) => ((IList<KeyValuePair<string, JsonNode?>>)
Dictionary
).IndexOf(item);