Skip to content

Commit 8e61d3b

Browse files
committed
Implement CR feedback
1 parent 9ba46cd commit 8e61d3b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

StyleCop.Analyzers/StyleCop.Analyzers/Helpers/TokenHelper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)