1 write to _backward
System.Net.Http (1)
src\libraries\Common\src\System\Collections\Generic\BidirectionalDictionary.cs (1)
19
_backward
= new Dictionary<T2, T1>(capacity);
4 references to _backward
System.Net.Http (4)
src\libraries\Common\src\System\Collections\Generic\BidirectionalDictionary.cs (4)
26
Debug.Assert(_forward.Count ==
_backward
.Count, "both the dictionaries must have the same number of elements");
33
Debug.Assert(!
_backward
.ContainsKey(item2), "No added item1 should ever have existing item2");
35
_backward
.Add(item2, item1);
45
return
_backward
.TryGetValue(item2, out item1);