diff --git a/BepInEx.Analyzers/BepInEx.Analyzers/HarmonyMethodRefParametersAnalyzer.cs b/BepInEx.Analyzers/BepInEx.Analyzers/HarmonyMethodRefParametersAnalyzer.cs index fe34a12..c562ebd 100644 --- a/BepInEx.Analyzers/BepInEx.Analyzers/HarmonyMethodRefParametersAnalyzer.cs +++ b/BepInEx.Analyzers/BepInEx.Analyzers/HarmonyMethodRefParametersAnalyzer.cs @@ -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())); }