5 instantiations of BidirectionalMap
Microsoft.CodeAnalysis.CodeStyle (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>(
8 references to BidirectionalMap
Microsoft.CodeAnalysis.CodeStyle (8)
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);