16 references to KeyComparer
Microsoft.CodeAnalysis (2)
DiagnosticAnalyzer\AnalyzerConfigOptions.cs (1)
20/// Get an analyzer config value for the given key, using the <see cref="KeyComparer"/>.
DiagnosticAnalyzer\DictionaryAnalyzerConfigOptions.cs (1)
13internal static readonly ImmutableDictionary<string, string> EmptyDictionary = ImmutableDictionary.Create<string, string>(KeyComparer);
Microsoft.CodeAnalysis.CodeStyle (4)
src\Compilers\Core\Portable\DiagnosticAnalyzer\DictionaryAnalyzerConfigOptions.cs (1)
13internal static readonly ImmutableDictionary<string, string> EmptyDictionary = ImmutableDictionary.Create<string, string>(KeyComparer);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
21= ImmutableHashSet.CreateRange(AnalyzerConfigOptions.KeyComparer, [ 48var activeSectionProperties = ImmutableDictionary.CreateBuilder<string, (string value, TextLine? line)>(AnalyzerConfigOptions.KeyComparer);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\EditorConfig\EditorConfigNamingStyleParser.cs (1)
105var trimmedDictionary = new Dictionary<string, string>(AnalyzerConfigOptions.KeyComparer);
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Features\Options\ClientFallbackAnalyzerConfigOptionsProvider.cs (1)
27var builder = ImmutableDictionary.CreateBuilder<string, string>(AnalyzerConfigOptions.KeyComparer);
Features\Options\SolutionAnalyzerConfigOptionsUpdater.cs (1)
75lazyBuilder = ImmutableDictionary.CreateBuilder<string, string>(AnalyzerConfigOptions.KeyComparer);
Microsoft.CodeAnalysis.Workspaces (4)
src\Compilers\Core\Portable\DiagnosticAnalyzer\DictionaryAnalyzerConfigOptions.cs (1)
13internal static readonly ImmutableDictionary<string, string> EmptyDictionary = ImmutableDictionary.Create<string, string>(KeyComparer);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
21= ImmutableHashSet.CreateRange(AnalyzerConfigOptions.KeyComparer, [ 48var activeSectionProperties = ImmutableDictionary.CreateBuilder<string, (string value, TextLine? line)>(AnalyzerConfigOptions.KeyComparer);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\EditorConfig\EditorConfigNamingStyleParser.cs (1)
105var trimmedDictionary = new Dictionary<string, string>(AnalyzerConfigOptions.KeyComparer);
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
OptionsCollection.cs (1)
100var builder = ImmutableDictionary.CreateBuilder<string, string>(AnalyzerConfigOptions.KeyComparer);
Microsoft.CodeAnalysis.Workspaces.UnitTests (3)
EditorConfigStorageLocation\NamingStylePreferenceEditorConfigStorageLocationTests.cs (1)
33}.ToImmutableDictionary(AnalyzerConfigOptions.KeyComparer)));
Options\DocumentOptionSetTests.cs (2)
26new DictionaryAnalyzerConfigOptions(ImmutableDictionary.Create<string, string>(AnalyzerConfigOptions.KeyComparer).Add( 128ImmutableDictionary.Create<string, string>(AnalyzerConfigOptions.KeyComparer).Add(