2 references to GetEnclosingNamespace
Microsoft.CodeAnalysis.Workspaces (2)
Recommendations\AbstractRecommendationServiceRunner.cs (1)
279
semanticModel.
GetEnclosingNamespace
(declarationSyntax.SpanStart, _cancellationToken));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Editing\ImportAdderService.cs (1)
256
var containedNamespace = model.
GetEnclosingNamespace
(node.SpanStart, cancellationToken);