8 references to Comparer
Microsoft.CodeAnalysis (8)
CommandLine\CommonCompiler.cs (1)
1596var filePaths = new HashSet<string>(PathUtilities.Comparer);
DiagnosticAnalyzer\AdditionalTextComparer.cs (2)
30if (!PathUtilities.Comparer.Equals(x.Path, y.Path)) 55return Hash.Combine(PathUtilities.Comparer.GetHashCode(obj.Path),
DiagnosticAnalyzer\AnalysisResultBuilder.cs (2)
25ImmutableDictionary<string, OneOrMany<AdditionalText>>.Empty.WithComparers(PathUtilities.Comparer); 70var builder = ImmutableDictionary.CreateBuilder<string, OneOrMany<AdditionalText>>(PathUtilities.Comparer);
DiagnosticAnalyzer\AnalysisScope.cs (1)
310!PathUtilities.Comparer.Equals(externalFileLocation.GetLineSpan().Path, filterFile.AdditionalFile.Path))
DiagnosticAnalyzer\AnalyzerAssemblyLoader.cs (1)
144paths = ImmutableHashSet.Create(PathUtilities.Comparer, fullPath);
DiagnosticAnalyzer\AnalyzerExecutor.AnalyzerDiagnosticReporter.cs (1)
135return PathUtilities.Comparer.Equals(_contextFile.Value.AdditionalFile.Path, externalFileLocation.GetLineSpan().Path);