1 write to _owner
Microsoft.CodeAnalysis.Features (1)
AddImport\SymbolReferenceFinder.cs (1)
55_owner = owner;
21 references to _owner
Microsoft.CodeAnalysis.Features (21)
AddImport\SymbolReferenceFinder.cs (18)
72var set = _owner.GetImportNamespacesInScope(_semanticModel, _node, cancellationToken); 90=> DoAsync(new AllSymbolsProjectSearchScope(_owner, _document.Project, exact), cancellationToken); 93=> DoAsync(new SourceSymbolsProjectSearchScope(_owner, projectToAssembly, project, exact), cancellationToken); 96=> DoAsync(new MetadataSymbolsSearchScope(_owner, assemblyProject, assembly, metadataReference, exact), 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) && 376s => _owner.IsViableExtensionMethod(s.Symbol, expression, _semanticModel, _syntaxFacts, cancellationToken)); 403if (_owner.CanAddImportForMethod(_diagnosticId, _syntaxFacts, _node, out _) && 405_owner.IsAddMethodContext(_node, _semanticModel)) 435if (_owner.CanAddImportForQuery(_diagnosticId, _node)) 437var type = _owner.GetQueryClauseInfo(_semanticModel, _node, cancellationToken); 459if (_owner.CanAddImportForGetAwaiter(_diagnosticId, _syntaxFacts, _node)) 484if (_owner.CanAddImportForGetEnumerator(_diagnosticId, _syntaxFacts, _node)) 509if (_owner.CanAddImportForGetAsyncEnumerator(_diagnosticId, _syntaxFacts, _node)) 534if (_owner.CanAddImportForDeconstruct(_diagnosticId, _node)) 536var type = _owner.GetDeconstructInfo(_semanticModel, _node, cancellationToken);
AddImport\SymbolReferenceFinder_PackageAssemblySearch.cs (3)
28if (!_owner.CanAddImportForType(_diagnosticId, _node, out var nameNode)) 156_owner, new SearchResult(desiredName, nameNode, result.ContainingNamespaceNames.ToReadOnlyList(), weight), result)); 168allReferences.Enqueue(new PackageReference(_owner,