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