2 writes to StartToken
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)
268
suppressionTargetInfo.
StartToken
= root.FindToken(startToken.SpanStart);
8 references to StartToken
Microsoft.CodeAnalysis.Features (8)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.PragmaHelpers.cs (3)
32
var startToken = suppressionTargetInfo.
StartToken
;
209
var startToken = suppressionTargetInfo.
StartToken
;
270
suppressionTargetInfo.NodeWithTokens = fixer.GetNodeWithTokens(suppressionTargetInfo.
StartToken
, suppressionTargetInfo.EndToken, root);
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.PragmaWarningCodeAction.cs (1)
83
public SyntaxToken StartToken_TestOnly => _suppressionTargetInfo.
StartToken
;
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.RemoveSuppressionCodeAction_Pragma.cs (4)
62
public override SyntaxTree SyntaxTreeToModify => _suppressionTargetInfo.
StartToken
.SyntaxTree;
73
if (CanRemovePragmaTrivia(_suppressionTargetInfo.
StartToken
, _diagnostic, Fixer, isStartToken: true, indexOfTriviaToRemove: out indexOfLeadingPragmaDisableToRemove) &&
207
var trivia = _suppressionTargetInfo.
StartToken
.LeadingTrivia.ElementAt(indexOfPragma);
217
public SyntaxToken StartToken_TestOnly => _suppressionTargetInfo.
StartToken
;