1 write to _forwardMap
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BidirectionalMap.cs (1)
37
_forwardMap
= forwardMap;
8 references to _forwardMap
Microsoft.CodeAnalysis.Workspaces (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BidirectionalMap.cs (8)
42
=>
_forwardMap
.TryGetValue(key, out value);
48
=>
_forwardMap
.ContainsKey(key);
55
if (!
_forwardMap
.TryGetValue(key, out var value))
61
_forwardMap
.Remove(key),
73
_forwardMap
.Remove(key),
80
_forwardMap
.Add(key, value),
84
public IEnumerable<TKey> Keys =>
_forwardMap
.Keys;
100
Debug.Assert(
_forwardMap
.Count == _backwardMap.Count);