24 references to _dict
Microsoft.VisualStudio.TestPlatform.Common (24)
Utilities\SimpleJSON.cs (24)
852public override Enumerator GetEnumerator() { return new Enumerator(_dict.GetEnumerator()); } 859return _dict.TryGetValue(aKey, out var value) ? value : new JSONLazyCreator(this, aKey); 865_dict[aKey] = value; 873return aIndex < 0 || aIndex >= _dict.Count ? null : _dict.ElementAt(aIndex).Value; 879if (aIndex < 0 || aIndex >= _dict.Count) 881string key = _dict.ElementAt(aIndex).Key; 882_dict[key] = value; 888get { return _dict.Count; } 898_dict[aKey] = aItem; 901_dict.Add(Guid.NewGuid().ToString(), aItem); 906if (!_dict.TryGetValue(aKey, out var tmp)) 908_dict.Remove(aKey); 914if (aIndex < 0 || aIndex >= _dict.Count) 916var item = _dict.ElementAt(aIndex); 917_dict.Remove(item.Key); 925var item = _dict.Where(k => k.Value == aNode).First(); 926_dict.Remove(item.Key); 937_dict.Clear(); 943foreach (var n in _dict) 952return _dict.ContainsKey(aKey); 957return _dict.TryGetValue(aKey, out JSONNode res) ? res : aDefault; 964foreach (var n in _dict) 975foreach (var k in _dict)