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)
77var set = _owner.GetImportNamespacesInScope(_semanticModel, _node, cancellationToken); 81for (var containingNamespace = _semanticModel.GetEnclosingNamespace(_node.SpanStart, cancellationToken); 179if (!_owner.CanAddImportForTypeOrNamespace(_diagnosticId, _node, out var nameNode)) 264if (_owner.CanAddImportForNamespace(_diagnosticId, _node, out var nameNode)) 291if (_owner.CanAddImportForMember(_diagnosticId, _syntaxFacts, _node, out var nameNode) && 355if (_owner.CanAddImportForMember(_diagnosticId, _syntaxFacts, _node, out var nameNode) && 425if (_owner.CanAddImportForMember(_diagnosticId, _syntaxFacts, _node, out _) && 426!_syntaxFacts.IsSimpleName(_node) && 427_owner.IsAddMethodContext(_node, _semanticModel, out var objectCreationExpression)) 447if (_owner.CanAddImportForQuery(_diagnosticId, _node)) 449var type = _owner.GetQueryClauseInfo(_semanticModel, _node, cancellationToken); 471if (_owner.CanAddImportForGetAwaiter(_diagnosticId, _syntaxFacts, _node)) 473var type = GetAwaitInfo(_semanticModel, _syntaxFacts, _node); 493if (_owner.CanAddImportForGetEnumerator(_diagnosticId, _syntaxFacts, _node)) 495var type = GetCollectionExpressionType(_semanticModel, _syntaxFacts, _node); 515if (_owner.CanAddImportForGetAsyncEnumerator(_diagnosticId, _syntaxFacts, _node)) 517var type = GetCollectionExpressionType(_semanticModel, _syntaxFacts, _node); 537if (_owner.CanAddImportForDeconstruct(_diagnosticId, _node)) 539var type = _owner.GetDeconstructInfo(_semanticModel, _node, cancellationToken);
AddImport\SymbolReferenceFinder_PackageAssemblySearch.cs (1)
36if (!_owner.CanAddImportForTypeOrNamespace(_diagnosticId, _node, out var nameNode))