1 write to _backwardMap
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BidirectionalMap.cs (1)
38_backwardMap = backwardMap;
10 references to _backwardMap
Microsoft.CodeAnalysis.CodeStyle (10)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BidirectionalMap.cs (10)
45=> _backwardMap.TryGetValue(value, out key); 51=> _backwardMap.ContainsKey(value); 62_backwardMap.Remove(value)); 67if (!_backwardMap.TryGetValue(value, out var key)) 74_backwardMap.Remove(value)); 81_backwardMap.Add(value, key)); 86public IEnumerable<TValue> Values => _backwardMap.Keys; 92return _backwardMap.Count == 0; 100Debug.Assert(_forwardMap.Count == _backwardMap.Count); 101return _backwardMap.Count;