1 write to _node
Microsoft.CodeAnalysis.Features (1)
AddImport\SymbolReferenceFinder.cs (1)
59
_node
= node;
21 references to _node
Microsoft.CodeAnalysis.Features (21)
AddImport\SymbolReferenceFinder.cs (20)
72
var set = _owner.GetImportNamespacesInScope(_semanticModel,
_node
, cancellationToken);
76
for (var containingNamespace = _semanticModel.GetEnclosingNamespace(
_node
.SpanStart, cancellationToken);
168
if (!_owner.CanAddImportForType(_diagnosticId,
_node
, out var nameNode))
255
if (_owner.CanAddImportForNamespace(_diagnosticId,
_node
, out var nameNode))
282
if (_owner.CanAddImportForMethod(_diagnosticId, _syntaxFacts,
_node
, out var nameNode) &&
344
if (_owner.CanAddImportForMethod(_diagnosticId, _syntaxFacts,
_node
, out var nameNode) &&
403
if (_owner.CanAddImportForMethod(_diagnosticId, _syntaxFacts,
_node
, out _) &&
404
!_syntaxFacts.IsSimpleName(
_node
) &&
405
_owner.IsAddMethodContext(
_node
, _semanticModel))
416
methodSymbols,
_node
.Parent, cancellationToken);
435
if (_owner.CanAddImportForQuery(_diagnosticId,
_node
))
437
var type = _owner.GetQueryClauseInfo(_semanticModel,
_node
, cancellationToken);
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
);
534
if (_owner.CanAddImportForDeconstruct(_diagnosticId,
_node
))
536
var type = _owner.GetDeconstructInfo(_semanticModel,
_node
, cancellationToken);
AddImport\SymbolReferenceFinder_PackageAssemblySearch.cs (1)
28
if (!_owner.CanAddImportForType(_diagnosticId,
_node
, out var nameNode))