2 references to GetContainingTypeDeclaration
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\CSharpSyntaxContext.cs (1)
226var containingTypeDeclaration = syntaxTree.GetContainingTypeDeclaration(position, cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
540: syntaxTree.GetContainingTypeDeclaration(position, cancellationToken);