5 references to FindNode
Microsoft.CodeAnalysis.Workspaces (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\AnalysisContextExtensions.cs (4)
151
=> context.Tree.
FindNode
(context.FilterSpan, findInTrivia, getInnermostNodeForTie, context.CancellationToken);
157
=> context.SemanticModel.SyntaxTree.
FindNode
(context.FilterSpan, findInTrivia, getInnermostNodeForTie, context.CancellationToken);
168
return context.FilterTree.
FindNode
(context.FilterSpan, findInTrivia, getInnermostNodeForTie, context.CancellationToken);
180
return context.FilterTree.
FindNode
(context.FilterSpan, findInTrivia, getInnermostNodeForTie, context.CancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Helpers\RemoveUnnecessaryImports\AbstractUnnecessaryImportsProvider.cs (1)
32
var node = model.SyntaxTree.
FindNode
(span, findInTrivia: false, getInnermostNodeForTie: false, cancellationToken);