2 overrides of IsEquivalentTo
Microsoft.CodeAnalysis.CSharp (1)
Syntax\CSharpSyntaxTree.cs (1)
126
public override bool
IsEquivalentTo
(SyntaxTree tree, bool topLevel = false)
Microsoft.CodeAnalysis.VisualBasic (1)
Syntax\VisualBasicSyntaxTree.vb (1)
509
Public Overrides Function
IsEquivalentTo
(tree As SyntaxTree, Optional topLevel As Boolean = False) As Boolean
4 references to IsEquivalentTo
Microsoft.CodeAnalysis.Workspaces (4)
SemanticModelReuse\AbstractSemanticModelReuseLanguageService.cs (1)
50
var isEquivalentTo = previousSyntaxTree.
IsEquivalentTo
(currentSyntaxTree, topLevel: true);
SemanticModelReuse\ISemanticModelReuseLanguageService.cs (1)
32
/// at. In other words, they must be <see cref="SyntaxTree.
IsEquivalentTo
"/><c>(..., topLevel: true)</c>. This
Workspace\Solution\DocumentState.cs (2)
274
var topLevel = !newTree.
IsEquivalentTo
(oldTree, topLevel: true);
287
var topLevel = !newTree.
IsEquivalentTo
(oldTree, topLevel: true);