2 writes to EndToken
Microsoft.CodeAnalysis.Features (2)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.cs (1)
341
return new SuppressionTargetInfo() { TargetSymbol = targetSymbol, NodeWithTokens = nodeWithTokens, StartToken = startToken,
EndToken
= endToken, TargetMemberNode = targetMemberNode };
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.PragmaHelpers.cs (1)
269
suppressionTargetInfo.
EndToken
= root.FindToken(endToken.SpanStart);
6 references to EndToken
Microsoft.CodeAnalysis.Features (6)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.PragmaHelpers.cs (3)
33
var endToken = suppressionTargetInfo.
EndToken
;
210
var endToken = suppressionTargetInfo.
EndToken
;
270
suppressionTargetInfo.NodeWithTokens = fixer.GetNodeWithTokens(suppressionTargetInfo.StartToken, suppressionTargetInfo.
EndToken
, root);
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.PragmaWarningCodeAction.cs (1)
84
public SyntaxToken EndToken_TestOnly => _suppressionTargetInfo.
EndToken
;
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.RemoveSuppressionCodeAction_Pragma.cs (2)
74
CanRemovePragmaTrivia(_suppressionTargetInfo.
EndToken
, _diagnostic, Fixer, isStartToken: false, indexOfTriviaToRemove: out indexOfTrailingPragmaEnableToRemove))
218
public SyntaxToken EndToken_TestOnly => _suppressionTargetInfo.
EndToken
;