Skip to content

Commit

Permalink
Merge pull request #3982 from Youssef1313/patch-5
Browse files Browse the repository at this point in the history
Fix incorrect doc comment
  • Loading branch information
mavasani authored Aug 9, 2020
2 parents 0a764ab + b4c1099 commit ccbb33e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,14 @@ namespace Microsoft.NetCore.CSharp.Analyzers.Performance
public sealed class CSharpDoNotUseCountWhenAnyCanBeUsedFixer : DoNotUseCountWhenAnyCanBeUsedFixer
{
/// <summary>
/// Tries the get a fixer the specified <paramref name="node" />.
/// Tries to get a fixer for the specified <paramref name="node" />.
/// </summary>
/// <param name="node">The node to get a fixer for.</param>
/// <param name="operation">The operation to get the fixer from.</param>
/// <param name="isAsync"><see langword="true" /> if it's an asynchronous method; <see langword="false" /> otherwise.</param>
/// <param name="expression">If this method returns <see langword="true" />, contains the expression to be used to invoke <c>Any</c>.</param>
/// <param name="arguments">If this method returns <see langword="true" />, contains the arguments from <c>Any</c> to be used on <c>Count</c>.</param>
/// <returns><see langword="true" /> if a fixer was found., <see langword="false" /> otherwise.</returns>
/// <exception cref="System.NotImplementedException"></exception>
protected override bool TryGetFixer(
SyntaxNode node,
string operation,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public sealed override async Task RegisterCodeFixesAsync(CodeFixContext context)
}

/// <summary>
/// Tries the get a fixer the specified <paramref name="node" />.
/// Tries to get a fixer for the specified <paramref name="node" />.
/// </summary>
/// <param name="node">The node to get a fixer for.</param>
/// <param name="operation">The operation to get the fixer from.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Namespace Microsoft.NetCore.VisualBasic.Analyzers.Performance
Inherits DoNotUseCountWhenAnyCanBeUsedFixer

''' <summary>
''' Tries the get a fixer the specified <paramref name="node" />.
''' Tries to get a fixer for the specified <paramref name="node" />.
''' </summary>
''' <param name="node">The node to get a fixer for.</param>
''' <param name="operation">The operation to get the fixer from.</param>
Expand Down

0 comments on commit ccbb33e

Please sign in to comment.