2 writes to StartToken
Microsoft.CodeAnalysis.Features (2)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.cs (1)
341return new SuppressionTargetInfo() { TargetSymbol = targetSymbol, NodeWithTokens = nodeWithTokens, StartToken = startToken, EndToken = endToken, TargetMemberNode = targetMemberNode };
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.PragmaHelpers.cs (1)
268suppressionTargetInfo.StartToken = root.FindToken(startToken.SpanStart);
8 references to StartToken
Microsoft.CodeAnalysis.Features (8)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.PragmaHelpers.cs (3)
32var startToken = suppressionTargetInfo.StartToken; 209var startToken = suppressionTargetInfo.StartToken; 270suppressionTargetInfo.NodeWithTokens = fixer.GetNodeWithTokens(suppressionTargetInfo.StartToken, suppressionTargetInfo.EndToken, root);
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.PragmaWarningCodeAction.cs (1)
83public SyntaxToken StartToken_TestOnly => _suppressionTargetInfo.StartToken;
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.RemoveSuppressionCodeAction_Pragma.cs (4)
62public override SyntaxTree SyntaxTreeToModify => _suppressionTargetInfo.StartToken.SyntaxTree; 73if (CanRemovePragmaTrivia(_suppressionTargetInfo.StartToken, _diagnostic, Fixer, isStartToken: true, indexOfTriviaToRemove: out indexOfLeadingPragmaDisableToRemove) && 207var trivia = _suppressionTargetInfo.StartToken.LeadingTrivia.ElementAt(indexOfPragma); 217public SyntaxToken StartToken_TestOnly => _suppressionTargetInfo.StartToken;