File tree Expand file tree Collapse file tree
StyleCop.Analyzers/StyleCop.Analyzers/Helpers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,11 +62,11 @@ internal static bool IsLastInLine(this SyntaxToken token)
6262 /// Gets a value indicating whether the <paramref name="token"/> is preceded by a whitespace.
6363 /// </summary>
6464 /// <param name="token">The token to process.</param>
65- /// <param name="cancellationToken">A <see cref="CancellationToken"/> .</param>
65+ /// <param name="cancellationToken">The cancellation token that the operation will observe .</param>
6666 /// <returns>true if token is preceded by a whitespace, otherwise false.</returns>
6767 internal static bool IsPrecededByWhitespace ( this SyntaxToken token , CancellationToken cancellationToken )
6868 {
69- // Perf directly access the text instead of trivia
69+ // Perf: Directly access the text instead of the trivia.
7070 int pos = token . Span . Start - 1 ;
7171
7272 if ( pos < 0 || token . SyntaxTree == null )
You can’t perform that action at this time.
0 commit comments