1 instantiation of SourceTextComparer
Microsoft.CodeAnalysis (1)
Text\SourceTextComparer.cs (1)
12
public 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>
26
CoreValueProvider = new AnalysisValueProvider<SourceText, TValue>(computeValue, sourceTextComparer ??
SourceTextComparer
.Instance);
Syntax\SyntaxTreeComparer.cs (2)
28
SourceTextComparer
.Instance.Equals(x.GetText(), y.GetText());
33
return Hash.Combine(obj.FilePath.GetHashCode(),
SourceTextComparer
.Instance.GetHashCode(obj.GetText()));
Text\SourceTextComparer.cs (1)
12
public static readonly
SourceTextComparer
Instance = new SourceTextComparer();