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