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