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)
77
var 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);
179
if (!
_owner
.CanAddImportForTypeOrNamespace(_diagnosticId, _node, out var nameNode))
264
if (
_owner
.CanAddImportForNamespace(_diagnosticId, _node, out var nameNode))
291
if (
_owner
.CanAddImportForMember(_diagnosticId, _syntaxFacts, _node, out var nameNode) &&
355
if (
_owner
.CanAddImportForMember(_diagnosticId, _syntaxFacts, _node, out var nameNode) &&
425
if (
_owner
.CanAddImportForMember(_diagnosticId, _syntaxFacts, _node, out _) &&
427
_owner
.IsAddMethodContext(_node, _semanticModel, out var objectCreationExpression))
447
if (
_owner
.CanAddImportForQuery(_diagnosticId, _node))
449
var type =
_owner
.GetQueryClauseInfo(_semanticModel, _node, cancellationToken);
471
if (
_owner
.CanAddImportForGetAwaiter(_diagnosticId, _syntaxFacts, _node))
493
if (
_owner
.CanAddImportForGetEnumerator(_diagnosticId, _syntaxFacts, _node))
515
if (
_owner
.CanAddImportForGetAsyncEnumerator(_diagnosticId, _syntaxFacts, _node))
537
if (
_owner
.CanAddImportForDeconstruct(_diagnosticId, _node))
539
var type =
_owner
.GetDeconstructInfo(_semanticModel, _node, cancellationToken);
AddImport\SymbolReferenceFinder_PackageAssemblySearch.cs (3)
36
if (!
_owner
.CanAddImportForTypeOrNamespace(_diagnosticId, _node, out var nameNode))
172
_owner
,
205
_owner
,