1 write to _diagnostic
Microsoft.CodeAnalysis.Features (1)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.PragmaWarningCodeAction.cs (1)
49
_diagnostic
= diagnostic;
5 references to _diagnostic
Microsoft.CodeAnalysis.Features (5)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.PragmaWarningCodeAction.cs (5)
54
=> new(_suppressionTargetInfo, _document, _options,
_diagnostic
, Fixer, forFixMultipleContext: true);
57
=> _forFixMultipleContext ? string.Empty :
_diagnostic
.Id;
66
_diagnostic
.Location.SourceSpan,
71
? PragmaHelpers.GetNewStartTokenWithAddedPragma(startToken, currentDiagnosticSpan,
_diagnostic
, Fixer, FormatNode, isRemoveSuppression: false, cancellationToken)
77
? PragmaHelpers.GetNewEndTokenWithAddedPragma(endToken, currentDiagnosticSpan,
_diagnostic
, Fixer, FormatNode, isRemoveSuppression: false, cancellationToken)