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