1 write to _diagnosticId
Microsoft.CodeAnalysis.Features (1)
AddImport\SymbolReferenceFinder.cs (1)
63
_diagnosticId
= diagnosticId;
11 references to _diagnosticId
Microsoft.CodeAnalysis.Features (11)
AddImport\SymbolReferenceFinder.cs (10)
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) &&
413
if (_owner.CanAddImportForMethod(
_diagnosticId
, _syntaxFacts, _node, out _) &&
445
if (_owner.CanAddImportForQuery(
_diagnosticId
, _node))
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))
AddImport\SymbolReferenceFinder_PackageAssemblySearch.cs (1)
31
if (!_owner.CanAddImportForTypeOrNamespace(
_diagnosticId
, _node, out var nameNode))