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