1 write to _syntaxFacts
Microsoft.CodeAnalysis.Features (1)
AddImport\SymbolReferenceFinder.cs (1)
64_syntaxFacts = document.GetLanguageService<ISyntaxFactsService>();
15 references to _syntaxFacts
Microsoft.CodeAnalysis.Features (15)
AddImport\SymbolReferenceFinder.cs (14)
174nameNode, _syntaxFacts, 257_syntaxFacts.GetNameAndArityOfSimpleName(nameNode, out var name, out var arity); 282if (_owner.CanAddImportForMethod(_diagnosticId, _syntaxFacts, _node, out var nameNode) && 344if (_owner.CanAddImportForMethod(_diagnosticId, _syntaxFacts, _node, out var nameNode) && 352_syntaxFacts.GetNameAndArityOfSimpleName(nameNode, out var name, out var arity); 376s => _owner.IsViableExtensionMethod(s.Symbol, expression, _semanticModel, _syntaxFacts, cancellationToken)); 403if (_owner.CanAddImportForMethod(_diagnosticId, _syntaxFacts, _node, out _) && 404!_syntaxFacts.IsSimpleName(_node) && 459if (_owner.CanAddImportForGetAwaiter(_diagnosticId, _syntaxFacts, _node)) 461var type = GetAwaitInfo(_semanticModel, _syntaxFacts, _node); 484if (_owner.CanAddImportForGetEnumerator(_diagnosticId, _syntaxFacts, _node)) 486var type = GetCollectionExpressionType(_semanticModel, _syntaxFacts, _node); 509if (_owner.CanAddImportForGetAsyncEnumerator(_diagnosticId, _syntaxFacts, _node)) 511var type = GetCollectionExpressionType(_semanticModel, _syntaxFacts, _node);
AddImport\SymbolReferenceFinder_PackageAssemblySearch.cs (1)
34nameNode, _syntaxFacts,