1 implementation of IBidirectionalMap
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BidirectionalMap.cs (1)
13internal sealed class BidirectionalMap<TKey, TValue> : IBidirectionalMap<TKey, TValue>
15 references to IBidirectionalMap
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (6)
Collections\Immutable\Maps\BidirectionalMapTests.cs (6)
18var map = BidirectionalMap<string, int>.Empty; 32var map = BidirectionalMap<string, int>.Empty 64var map = BidirectionalMap<string, int>.Empty 69var map2 = map.RemoveKey("1"); 91var map = BidirectionalMap<string, int>.Empty 96var map2 = map.RemoveValue(1);
Microsoft.CodeAnalysis.Workspaces (9)
Serialization\SerializerService_Reference.cs (1)
32private static IBidirectionalMap<AnalyzerImageReference, Guid> s_analyzerImageReferenceMap = BidirectionalMap<AnalyzerImageReference, Guid>.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BidirectionalMap.cs (4)
17public static readonly IBidirectionalMap<TKey, TValue> Empty = 53public IBidirectionalMap<TKey, TValue> RemoveKey(TKey key) 65public IBidirectionalMap<TKey, TValue> RemoveValue(TValue value) 77public IBidirectionalMap<TKey, TValue> Add(TKey key, TValue value)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IBidirectionalMap.cs (3)
23IBidirectionalMap<TKey, TValue> RemoveKey(TKey key); 24IBidirectionalMap<TKey, TValue> RemoveValue(TValue value); 26IBidirectionalMap<TKey, TValue> Add(TKey key, TValue value);
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (1)
44private IBidirectionalMap<SourceTextContainer, DocumentId> _sourceTextContainersToDocumentIds = BidirectionalMap<SourceTextContainer, DocumentId>.Empty;