17 references to Dictionary
System.Text.Json (17)
System\Text\Json\Nodes\JsonObject.cs (6)
108KeyValuePair<string, JsonNode?>? item = Dictionary.FindValue(node); 142foreach (KeyValuePair<string, JsonNode?> entry in Dictionary) 172JsonPropertyDictionary<JsonNode?> currentDict = Dictionary; 173JsonPropertyDictionary<JsonNode?> otherDict = jsonObject.Dictionary; 214string propertyName = Dictionary.FindValue(child)!.Value.Key; 231JsonNode? replacedValue = Dictionary.SetValue(propertyName, value, out bool valueAlreadyInDictionary);
System\Text\Json\Nodes\JsonObject.IDictionary.cs (11)
28Dictionary.Add(propertyName, value); 77public bool ContainsKey(string propertyName) => Dictionary.ContainsKey(propertyName); 82public int Count => Dictionary.Count; 101bool success = Dictionary.TryRemoveProperty(propertyName, out JsonNode? removedNode); 117bool ICollection<KeyValuePair<string, JsonNode?>>.Contains(KeyValuePair<string, JsonNode?> item) => Dictionary.Contains(item); 136void ICollection<KeyValuePair<string, JsonNode?>>.CopyTo(KeyValuePair<string, JsonNode?>[] array, int index) => Dictionary.CopyTo(array, index); 144public IEnumerator<KeyValuePair<string, JsonNode?>> GetEnumerator() => Dictionary.GetEnumerator(); 160ICollection<string> IDictionary<string, JsonNode?>.Keys => Dictionary.Keys; 165ICollection<JsonNode?> IDictionary<string, JsonNode?>.Values => Dictionary.Values; 181bool IDictionary<string, JsonNode?>.TryGetValue(string propertyName, out JsonNode? jsonNode) => Dictionary.TryGetValue(propertyName, out jsonNode); 194IEnumerator IEnumerable.GetEnumerator() => Dictionary.GetEnumerator();