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)
78
var 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);
180
if (!
_owner
.CanAddImportForTypeOrNamespace(_diagnosticId, _node, out var nameNode))
265
if (
_owner
.CanAddImportForNamespace(_diagnosticId, _node, out var nameNode))
292
if (
_owner
.CanAddImportForMethod(_diagnosticId, _syntaxFacts, _node, out var nameNode) &&
354
if (
_owner
.CanAddImportForMethod(_diagnosticId, _syntaxFacts, _node, out var nameNode) &&
386
s =>
_owner
.IsViableExtensionMethod(s.Symbol, expression, _semanticModel, _syntaxFacts, cancellationToken));
413
if (
_owner
.CanAddImportForMethod(_diagnosticId, _syntaxFacts, _node, out _) &&
415
_owner
.IsAddMethodContext(_node, _semanticModel))
445
if (
_owner
.CanAddImportForQuery(_diagnosticId, _node))
447
var type =
_owner
.GetQueryClauseInfo(_semanticModel, _node, cancellationToken);
469
if (
_owner
.CanAddImportForGetAwaiter(_diagnosticId, _syntaxFacts, _node))
494
if (
_owner
.CanAddImportForGetEnumerator(_diagnosticId, _syntaxFacts, _node))
519
if (
_owner
.CanAddImportForGetAsyncEnumerator(_diagnosticId, _syntaxFacts, _node))
544
if (
_owner
.CanAddImportForDeconstruct(_diagnosticId, _node))
546
var type =
_owner
.GetDeconstructInfo(_semanticModel, _node, cancellationToken);
AddImport\SymbolReferenceFinder_PackageAssemblySearch.cs (3)
31
if (!
_owner
.CanAddImportForTypeOrNamespace(_diagnosticId, _node, out var nameNode))
164
_owner
,
197
_owner
,