3 references to GetEnclosingSymbol
Microsoft.CodeAnalysis.CodeStyle (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SemanticModelExtensions.cs (3)
83return semanticModel.GetEnclosingSymbol<INamedTypeSymbol>(position, cancellationToken) ?? 88=> semanticModel.GetEnclosingSymbol<INamedTypeSymbol>(position, cancellationToken); 91=> semanticModel.GetEnclosingSymbol<INamespaceSymbol>(position, cancellationToken);