Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxiao921 committed Jan 24, 2022
1 parent c8d2d0a commit 04154ea
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ private static void CheckExpressionSyntaxes(SyntaxNodeAnalysisContext context, M
}
}

var paramaterName = parameterSymbol.Name;
if (parameterSymbol.RefKind == RefKind.None && paramaterName == varNames[i])
var parameterName = parameterSymbol.Name;
if (parameterSymbol.RefKind == RefKind.None && parameterName == varNames[i])
{
context.ReportDiagnostic(Diagnostic.Create(Rule, expressionSyntaxes[i].GetLocation(), expressionSyntaxes[i].ToString()));
}
Expand Down

0 comments on commit 04154ea

Please sign in to comment.