1 write to _owner
Microsoft.CodeAnalysis.Features (1)
AddImport\SymbolReferenceFinder.cs (1)
60_owner = owner;
21 references to _owner
Microsoft.CodeAnalysis.Features (21)
AddImport\SymbolReferenceFinder.cs (18)
78var set = _owner.GetImportNamespacesInScope(_semanticModel, _node, cancellationToken); 96=> DoAsync(new AllSymbolsProjectSearchScope(_owner, _document.Project, exact), cancellationToken); 99=> DoAsync(new SourceSymbolsProjectSearchScope(_owner, projectToAssembly, project, exact), cancellationToken); 102=> DoAsync(new MetadataSymbolsSearchScope(_owner, assemblyProject, assembly, metadataReference, exact), 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) && 386s => _owner.IsViableExtensionMethod(s.Symbol, expression, _semanticModel, _syntaxFacts, cancellationToken)); 413if (_owner.CanAddImportForMethod(_diagnosticId, _syntaxFacts, _node, out _) && 415_owner.IsAddMethodContext(_node, _semanticModel)) 445if (_owner.CanAddImportForQuery(_diagnosticId, _node)) 447var type = _owner.GetQueryClauseInfo(_semanticModel, _node, cancellationToken); 469if (_owner.CanAddImportForGetAwaiter(_diagnosticId, _syntaxFacts, _node)) 494if (_owner.CanAddImportForGetEnumerator(_diagnosticId, _syntaxFacts, _node)) 519if (_owner.CanAddImportForGetAsyncEnumerator(_diagnosticId, _syntaxFacts, _node)) 544if (_owner.CanAddImportForDeconstruct(_diagnosticId, _node)) 546var type = _owner.GetDeconstructInfo(_semanticModel, _node, cancellationToken);
AddImport\SymbolReferenceFinder_PackageAssemblySearch.cs (3)
31if (!_owner.CanAddImportForTypeOrNamespace(_diagnosticId, _node, out var nameNode)) 164_owner, 197_owner,