1 write to _node
Microsoft.CodeAnalysis.Features (1)
AddImport\SymbolReferenceFinder.cs (1)
64_node = node;
21 references to _node
Microsoft.CodeAnalysis.Features (21)
AddImport\SymbolReferenceFinder.cs (20)
78var set = _owner.GetImportNamespacesInScope(_semanticModel, _node, cancellationToken); 82for (var containingNamespace = _semanticModel.GetEnclosingNamespace(_node.SpanStart, cancellationToken); 180if (!_owner.CanAddImportForTypeOrNamespace(_diagnosticId, _node, out var nameNode)) 265if (_owner.CanAddImportForNamespace(_diagnosticId, _node, out var nameNode)) 292if (_owner.CanAddImportForMethod(_diagnosticId, _syntaxFacts, _node, out var nameNode) && 354if (_owner.CanAddImportForMethod(_diagnosticId, _syntaxFacts, _node, out var nameNode) && 413if (_owner.CanAddImportForMethod(_diagnosticId, _syntaxFacts, _node, out _) && 414!_syntaxFacts.IsSimpleName(_node) && 415_owner.IsAddMethodContext(_node, _semanticModel)) 426methodSymbols, _node.Parent, cancellationToken); 445if (_owner.CanAddImportForQuery(_diagnosticId, _node)) 447var type = _owner.GetQueryClauseInfo(_semanticModel, _node, cancellationToken); 469if (_owner.CanAddImportForGetAwaiter(_diagnosticId, _syntaxFacts, _node)) 471var type = GetAwaitInfo(_semanticModel, _syntaxFacts, _node); 494if (_owner.CanAddImportForGetEnumerator(_diagnosticId, _syntaxFacts, _node)) 496var type = GetCollectionExpressionType(_semanticModel, _syntaxFacts, _node); 519if (_owner.CanAddImportForGetAsyncEnumerator(_diagnosticId, _syntaxFacts, _node)) 521var type = GetCollectionExpressionType(_semanticModel, _syntaxFacts, _node); 544if (_owner.CanAddImportForDeconstruct(_diagnosticId, _node)) 546var type = _owner.GetDeconstructInfo(_semanticModel, _node, cancellationToken);
AddImport\SymbolReferenceFinder_PackageAssemblySearch.cs (1)
31if (!_owner.CanAddImportForTypeOrNamespace(_diagnosticId, _node, out var nameNode))