6 overrides of TryGetRoot
Microsoft.CodeAnalysis.CSharp (3)
Syntax\CSharpSyntaxTree.Dummy.cs (1)
78public override bool TryGetRoot(out CSharpSyntaxNode root)
Syntax\CSharpSyntaxTree.LazySyntaxTree.cs (1)
79public override bool TryGetRoot([NotNullWhen(true)] out CSharpSyntaxNode? root)
Syntax\CSharpSyntaxTree.ParsedSyntaxTree.cs (1)
93public override bool TryGetRoot(out CSharpSyntaxNode root)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
DeclarationTests.cs (1)
961public override bool TryGetRoot(out CSharpSyntaxNode root)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Syntax\Mocks\MockCSharpSyntaxTree.cs (1)
52public override bool TryGetRoot([NotNullWhen(true)] out CSharpSyntaxNode? root)
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Workspace\LanguageServices\CSharpSyntaxTreeFactoryService.ParsedSyntaxTree.cs (1)
70public override bool TryGetRoot([NotNullWhen(true)] out CSharpSyntaxNode? root)
2 references to TryGetRoot
Microsoft.CodeAnalysis.CSharp (2)
Syntax\CSharpSyntaxTree.cs (2)
103return Task.FromResult(this.TryGetRoot(out CSharpSyntaxNode? node) ? node : this.GetRoot(cancellationToken)); 885if (this.TryGetRoot(out CSharpSyntaxNode? node))