4 references to GetContainingTypeDeclaration
Microsoft.CodeAnalysis.Workspaces (4)
FindSymbols\FindReferences\Finders\AbstractReferenceFinder.cs (1)
759syntaxFacts.GetContainingTypeDeclaration(node, node.SpanStart),
LanguageServices\FixAllSpanMappingService\AbstractFixAllSpanMappingService.cs (3)
55var partialDeclSpan = syntaxFacts.GetContainingTypeDeclaration(root, syntaxRef.Span.Start)?.FullSpan; 82: syntaxFacts.GetContainingTypeDeclaration(root, span.Start); 95: syntaxFacts.GetContainingTypeDeclaration(root, span.End);