1 instantiation of SourceTextComparer
Microsoft.CodeAnalysis (1)
Text\SourceTextComparer.cs (1)
12public static readonly SourceTextComparer Instance = new SourceTextComparer();
5 references to SourceTextComparer
Microsoft.CodeAnalysis (5)
DiagnosticAnalyzer\SourceTextValueProvider.cs (2)
23/// If no comparer is provided, then <see cref="SourceTextComparer"/> is used by default.</param> 26CoreValueProvider = new AnalysisValueProvider<SourceText, TValue>(computeValue, sourceTextComparer ?? SourceTextComparer.Instance);
Syntax\SyntaxTreeComparer.cs (2)
28SourceTextComparer.Instance.Equals(x.GetText(), y.GetText()); 33return Hash.Combine(obj.FilePath.GetHashCode(), SourceTextComparer.Instance.GetHashCode(obj.GetText()));
Text\SourceTextComparer.cs (1)
12public static readonly SourceTextComparer Instance = new SourceTextComparer();