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)
174
nameNode,
_syntaxFacts
,
257
_syntaxFacts
.GetNameAndArityOfSimpleName(nameNode, out var name, out var arity);
282
if (_owner.CanAddImportForMethod(_diagnosticId,
_syntaxFacts
, _node, out var nameNode) &&
344
if (_owner.CanAddImportForMethod(_diagnosticId,
_syntaxFacts
, _node, out var nameNode) &&
352
_syntaxFacts
.GetNameAndArityOfSimpleName(nameNode, out var name, out var arity);
376
s => _owner.IsViableExtensionMethod(s.Symbol, expression, _semanticModel,
_syntaxFacts
, cancellationToken));
403
if (_owner.CanAddImportForMethod(_diagnosticId,
_syntaxFacts
, _node, out _) &&
404
!
_syntaxFacts
.IsSimpleName(_node) &&
459
if (_owner.CanAddImportForGetAwaiter(_diagnosticId,
_syntaxFacts
, _node))
461
var type = GetAwaitInfo(_semanticModel,
_syntaxFacts
, _node);
484
if (_owner.CanAddImportForGetEnumerator(_diagnosticId,
_syntaxFacts
, _node))
486
var type = GetCollectionExpressionType(_semanticModel,
_syntaxFacts
, _node);
509
if (_owner.CanAddImportForGetAsyncEnumerator(_diagnosticId,
_syntaxFacts
, _node))
511
var type = GetCollectionExpressionType(_semanticModel,
_syntaxFacts
, _node);
AddImport\SymbolReferenceFinder_PackageAssemblySearch.cs (1)
34
nameNode,
_syntaxFacts
,