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