1 instantiation of SyntaxTreeComparer
Microsoft.CodeAnalysis (1)
Syntax\SyntaxTreeComparer.cs (1)
14public static readonly SyntaxTreeComparer Instance = new SyntaxTreeComparer();
6 references to SyntaxTreeComparer
Microsoft.CodeAnalysis (3)
DiagnosticAnalyzer\SyntaxTreeValueProvider.cs (2)
22/// If no comparer is provided, then <see cref="SyntaxTreeComparer"/> is used by default.</param> 25CoreValueProvider = new AnalysisValueProvider<SyntaxTree, TValue>(computeValue, syntaxTreeComparer ?? SyntaxTreeComparer.Instance);
Syntax\SyntaxTreeComparer.cs (1)
14public static readonly SyntaxTreeComparer Instance = new SyntaxTreeComparer();
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
SourceGeneration\GeneratorDriverFuzzTests.cs (2)
326Assert.Equal(result2.GeneratedTrees, result1.GeneratedTrees, SyntaxTreeComparer.Instance); 545Assert.Equal(result2.GeneratedTrees, result1.GeneratedTrees, SyntaxTreeComparer.Instance);
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\CommonDiagnosticAnalyzers.cs (1)
1758_treeCallbackSet = new HashSet<SyntaxTree>(SyntaxTreeComparer.Instance);