1 write to _suppressionTargetInfo
Microsoft.CodeAnalysis.Features (1)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.RemoveSuppressionCodeAction_Pragma.cs (1)
56
_suppressionTargetInfo
= suppressionTargetInfo;
8 references to _suppressionTargetInfo
Microsoft.CodeAnalysis.Features (8)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.RemoveSuppressionCodeAction_Pragma.cs (8)
60
=> new PragmaRemoveAction(
_suppressionTargetInfo
, _document, _options, _diagnostic, Fixer, forFixMultipleContext: true);
62
public override SyntaxTree SyntaxTreeToModify =>
_suppressionTargetInfo
.StartToken.SyntaxTree;
73
if (CanRemovePragmaTrivia(
_suppressionTargetInfo
.StartToken, _diagnostic, Fixer, isStartToken: true, indexOfTriviaToRemove: out indexOfLeadingPragmaDisableToRemove) &&
74
CanRemovePragmaTrivia(
_suppressionTargetInfo
.EndToken, _diagnostic, Fixer, isStartToken: false, indexOfTriviaToRemove: out indexOfTrailingPragmaEnableToRemove))
98
_suppressionTargetInfo
,
207
var trivia =
_suppressionTargetInfo
.StartToken.LeadingTrivia.ElementAt(indexOfPragma);
217
public SyntaxToken StartToken_TestOnly =>
_suppressionTargetInfo
.StartToken;
218
public SyntaxToken EndToken_TestOnly =>
_suppressionTargetInfo
.EndToken;