4 references to TryGetSyntaxTree
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\DocumentExtensions.cs (1)
64
if (document.
TryGetSyntaxTree
(out var syntaxTree))
Microsoft.CodeAnalysis.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\DocumentExtensions.cs (1)
64
if (document.
TryGetSyntaxTree
(out var syntaxTree))
Workspace\Solution\Document.cs (2)
184
if (
TryGetSyntaxTree
(out var tree))
216
return this.
TryGetSyntaxTree
(out var tree) && tree.TryGetRoot(out root) && root != null;