1 write to _node
Microsoft.CodeAnalysis.Features (1)
AddImport\SymbolReferenceFinder.cs (1)
63
_node
= node;
20 references to _node
Microsoft.CodeAnalysis.Features (20)
AddImport\SymbolReferenceFinder.cs (19)
77
var set = _owner.GetImportNamespacesInScope(_semanticModel,
_node
, cancellationToken);
81
for (var containingNamespace = _semanticModel.GetEnclosingNamespace(
_node
.SpanStart, cancellationToken);
179
if (!_owner.CanAddImportForTypeOrNamespace(_diagnosticId,
_node
, out var nameNode))
264
if (_owner.CanAddImportForNamespace(_diagnosticId,
_node
, out var nameNode))
291
if (_owner.CanAddImportForMember(_diagnosticId, _syntaxFacts,
_node
, out var nameNode) &&
355
if (_owner.CanAddImportForMember(_diagnosticId, _syntaxFacts,
_node
, out var nameNode) &&
425
if (_owner.CanAddImportForMember(_diagnosticId, _syntaxFacts,
_node
, out _) &&
426
!_syntaxFacts.IsSimpleName(
_node
) &&
427
_owner.IsAddMethodContext(
_node
, _semanticModel, out var objectCreationExpression))
447
if (_owner.CanAddImportForQuery(_diagnosticId,
_node
))
449
var type = _owner.GetQueryClauseInfo(_semanticModel,
_node
, cancellationToken);
471
if (_owner.CanAddImportForGetAwaiter(_diagnosticId, _syntaxFacts,
_node
))
473
var type = GetAwaitInfo(_semanticModel, _syntaxFacts,
_node
);
493
if (_owner.CanAddImportForGetEnumerator(_diagnosticId, _syntaxFacts,
_node
))
495
var type = GetCollectionExpressionType(_semanticModel, _syntaxFacts,
_node
);
515
if (_owner.CanAddImportForGetAsyncEnumerator(_diagnosticId, _syntaxFacts,
_node
))
517
var type = GetCollectionExpressionType(_semanticModel, _syntaxFacts,
_node
);
537
if (_owner.CanAddImportForDeconstruct(_diagnosticId,
_node
))
539
var type = _owner.GetDeconstructInfo(_semanticModel,
_node
, cancellationToken);
AddImport\SymbolReferenceFinder_PackageAssemblySearch.cs (1)
36
if (!_owner.CanAddImportForTypeOrNamespace(_diagnosticId,
_node
, out var nameNode))