5 instantiations of BidirectionalMap
Microsoft.CodeAnalysis.Workspaces (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
126
var map = new
BidirectionalMap
<string, T>(entries, StringComparer.OrdinalIgnoreCase);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BidirectionalMap.cs (4)
18
new
BidirectionalMap
<TKey, TValue>(ImmutableDictionary.Create<TKey, TValue>(), ImmutableDictionary.Create<TValue, TKey>());
60
return new
BidirectionalMap
<TKey, TValue>(
72
return new
BidirectionalMap
<TKey, TValue>(
79
return new
BidirectionalMap
<TKey, TValue>(
10 references to BidirectionalMap
Microsoft.CodeAnalysis.Workspaces (10)
Serialization\SerializerService_Reference.cs (1)
32
private static IBidirectionalMap<AnalyzerImageReference, Guid> s_analyzerImageReferenceMap =
BidirectionalMap
<AnalyzerImageReference, Guid>.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleHelpers.cs (1)
157
private static readonly
BidirectionalMap
<string, UnusedValuePreference> s_unusedExpressionAssignmentPreferenceMap =
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOptions2.cs (4)
170
private static readonly
BidirectionalMap
<string, UnusedParametersPreference> s_unusedParametersPreferenceMap =
198
private static readonly
BidirectionalMap
<string, AccessibilityModifiersRequired> s_accessibilityModifiersRequiredMap =
244
private static readonly
BidirectionalMap
<string, ParenthesesPreference> s_parenthesesPreferenceMap =
297
private static readonly
BidirectionalMap
<string, ForEachExplicitCastInSourcePreference> s_forEachExplicitCastInSourcePreferencePreferenceMap =
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (3)
109
public static EditorConfigValueSerializer<T> CreateSerializerForEnum<T>(
BidirectionalMap
<string, T> map) where T : struct, Enum
116
public static EditorConfigValueSerializer<T> CreateSerializerForEnum<T>(
BidirectionalMap
<string, T> map, ImmutableDictionary<string, T> alternative) where T : struct, Enum
126
var
map = new BidirectionalMap<string, T>(entries, StringComparer.OrdinalIgnoreCase);
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (1)
44
private IBidirectionalMap<SourceTextContainer, DocumentId> _sourceTextContainersToDocumentIds =
BidirectionalMap
<SourceTextContainer, DocumentId>.Empty;