12 references to PropertiesKeyComparer
Microsoft.CodeAnalysis (11)
CommandLine\AnalyzerConfig.cs (3)
52
= ImmutableHashSet.CreateRange(Section.
PropertiesKeyComparer
, new[] {
184
Section.
PropertiesKeyComparer
);
211
Section.
PropertiesKeyComparer
);
CommandLine\AnalyzerConfigSet.cs (7)
54
new ObjectPool<TreeOptions.Builder>(() => ImmutableDictionary.CreateBuilder<string, ReportDiagnostic>(Section.
PropertiesKeyComparer
));
57
new ObjectPool<AnalyzerOptions.Builder>(() => ImmutableDictionary.CreateBuilder<string, string>(Section.
PropertiesKeyComparer
));
568
var result = dict.ToImmutableDictionary(d => d.Key, d => d.Value.value, Section.
PropertiesKeyComparer
);
579
sectionDict = ImmutableDictionary.CreateBuilder<string, (string, string, int)>(Section.
PropertiesKeyComparer
);
586
if (isGlobalSection && (Section.
PropertiesKeyComparer
.Equals(key, GlobalKey) || Section.
PropertiesKeyComparer
.Equals(key, GlobalLevelKey)))
619
duplicateDict = ImmutableDictionary.CreateBuilder<string, (int, ArrayBuilder<string>)>(Section.
PropertiesKeyComparer
);
DiagnosticAnalyzer\AnalyzerConfigOptions.cs (1)
17
public static StringComparer KeyComparer { get; } = AnalyzerConfig.Section.
PropertiesKeyComparer
;
Microsoft.CodeAnalysis.Test.Utilities (1)
Compilation\TestSyntaxTreeOptionsProvider.cs (1)
32
_globalOptions = new Dictionary<string, ReportDiagnostic>(Section.
PropertiesKeyComparer
) { { globalOption.key, globalOption.diagnostic } };