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