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)
72
var 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);
168
if (!
_owner
.CanAddImportForType(_diagnosticId, _node, out var nameNode))
255
if (
_owner
.CanAddImportForNamespace(_diagnosticId, _node, out var nameNode))
282
if (
_owner
.CanAddImportForMethod(_diagnosticId, _syntaxFacts, _node, out var nameNode) &&
344
if (
_owner
.CanAddImportForMethod(_diagnosticId, _syntaxFacts, _node, out var nameNode) &&
376
s =>
_owner
.IsViableExtensionMethod(s.Symbol, expression, _semanticModel, _syntaxFacts, cancellationToken));
403
if (
_owner
.CanAddImportForMethod(_diagnosticId, _syntaxFacts, _node, out _) &&
405
_owner
.IsAddMethodContext(_node, _semanticModel))
435
if (
_owner
.CanAddImportForQuery(_diagnosticId, _node))
437
var type =
_owner
.GetQueryClauseInfo(_semanticModel, _node, cancellationToken);
459
if (
_owner
.CanAddImportForGetAwaiter(_diagnosticId, _syntaxFacts, _node))
484
if (
_owner
.CanAddImportForGetEnumerator(_diagnosticId, _syntaxFacts, _node))
509
if (
_owner
.CanAddImportForGetAsyncEnumerator(_diagnosticId, _syntaxFacts, _node))
534
if (
_owner
.CanAddImportForDeconstruct(_diagnosticId, _node))
536
var type =
_owner
.GetDeconstructInfo(_semanticModel, _node, cancellationToken);
AddImport\SymbolReferenceFinder_PackageAssemblySearch.cs (3)
28
if (!
_owner
.CanAddImportForType(_diagnosticId, _node, out var nameNode))
156
_owner
, new SearchResult(desiredName, nameNode, result.ContainingNamespaceNames.ToReadOnlyList(), weight), result));
168
allReferences.Enqueue(new PackageReference(
_owner
,