1 write to _context
Microsoft.CodeAnalysis.Workspaces (1)
Recommendations\AbstractRecommendationServiceRunner.cs (1)
34
_context
= context;
18 references to _context
Microsoft.CodeAnalysis.Workspaces (18)
Recommendations\AbstractRecommendationServiceRunner.cs (18)
35
_stringComparerForLanguage =
_context
.GetLanguageService<ISyntaxFactsService>().StringComparer;
77
var syntaxFactsService =
_context
.GetLanguageService<ISyntaxFactsService>();
106
var candidateSymbols =
_context
.SemanticModel.GetMemberGroup(expressionOfInvocationExpression, _cancellationToken);
141
var invocationSymbols =
_context
.SemanticModel.GetSymbolInfo(invocationExpression).GetAllSymbols();
192
var expressionSymbol =
_context
.SemanticModel.Compilation.GetTypeByMetadataName(typeof(Expression<>).FullName);
274
var declarationSyntax =
_context
.TargetToken.GetAncestor<TNamespaceDeclarationSyntax>();
278
var semanticModel =
_context
.SemanticModel;
290
var semanticModel =
_context
.SemanticModel;
293
: semanticModel.LookupNamespacesAndTypes(
_context
.Position, semanticModel.Compilation.GlobalNamespace, nameof(System))
302
var aliases = semanticModel.LookupSymbols(
_context
.Position, container).OfType<IAliasSymbol>().Where(a => systemNamespace.Equals(a.Target));
319
var specialTypeSymbol =
_context
.SemanticModel
320
.LookupNamespacesAndTypes(
_context
.Position, container, name)
325
specialTypeSymbol ??=
_context
.SemanticModel.Compilation.GetSpecialType(specialType);
327
var aliases =
_context
.SemanticModel.LookupSymbols(
_context
.Position, container).OfType<IAliasSymbol>().Where(a => specialTypeSymbol.Equals(a.Target));
384
?
_context
.SemanticModel.LookupBaseMembers(position)
392
return
_context
.SemanticModel.LookupStaticMembers(position, container);
396
_context
.SemanticModel.LookupSymbols(position, container, includeReducedExtensionMethods: true));