1 write to _owner
Microsoft.CodeAnalysis.Features (1)
AddImport\SymbolReferenceFinder.cs (1)
59_owner = owner;
20 references to _owner
Microsoft.CodeAnalysis.Features (20)
AddImport\SymbolReferenceFinder.cs (17)
77var set = _owner.GetImportNamespacesInScope(_semanticModel, _node, cancellationToken); 95=> DoAsync(new AllSymbolsProjectSearchScope(_owner, _document.Project, exact), cancellationToken); 98=> DoAsync(new SourceSymbolsProjectSearchScope(_owner, projectToAssembly, project, exact), cancellationToken); 101=> DoAsync(new MetadataSymbolsSearchScope(_owner, assemblyProject, assembly, metadataReference, exact), 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 _) && 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)) 493if (_owner.CanAddImportForGetEnumerator(_diagnosticId, _syntaxFacts, _node)) 515if (_owner.CanAddImportForGetAsyncEnumerator(_diagnosticId, _syntaxFacts, _node)) 537if (_owner.CanAddImportForDeconstruct(_diagnosticId, _node)) 539var type = _owner.GetDeconstructInfo(_semanticModel, _node, cancellationToken);
AddImport\SymbolReferenceFinder_PackageAssemblySearch.cs (3)
36if (!_owner.CanAddImportForTypeOrNamespace(_diagnosticId, _node, out var nameNode)) 172_owner, 205_owner,