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; 77var syntaxFactsService = _context.GetLanguageService<ISyntaxFactsService>(); 106var candidateSymbols = _context.SemanticModel.GetMemberGroup(expressionOfInvocationExpression, _cancellationToken); 141var invocationSymbols = _context.SemanticModel.GetSymbolInfo(invocationExpression).GetAllSymbols(); 192var expressionSymbol = _context.SemanticModel.Compilation.GetTypeByMetadataName(typeof(Expression<>).FullName); 274var declarationSyntax = _context.TargetToken.GetAncestor<TNamespaceDeclarationSyntax>(); 278var semanticModel = _context.SemanticModel; 290var semanticModel = _context.SemanticModel; 293: semanticModel.LookupNamespacesAndTypes(_context.Position, semanticModel.Compilation.GlobalNamespace, nameof(System)) 302var aliases = semanticModel.LookupSymbols(_context.Position, container).OfType<IAliasSymbol>().Where(a => systemNamespace.Equals(a.Target)); 319var specialTypeSymbol = _context.SemanticModel 320.LookupNamespacesAndTypes(_context.Position, container, name) 325specialTypeSymbol ??= _context.SemanticModel.Compilation.GetSpecialType(specialType); 327var aliases = _context.SemanticModel.LookupSymbols(_context.Position, container).OfType<IAliasSymbol>().Where(a => specialTypeSymbol.Equals(a.Target)); 384? _context.SemanticModel.LookupBaseMembers(position) 392return _context.SemanticModel.LookupStaticMembers(position, container); 396_context.SemanticModel.LookupSymbols(position, container, includeReducedExtensionMethods: true));