Skip to content

Commit

Permalink
Merge pull request #126 from dexcompiler/patch-1
Browse files Browse the repository at this point in the history
Rename ClassDeclarationSyntax variable from primartyCtor to primaryCtor
  • Loading branch information
neuecc authored Jun 18, 2024
2 parents e7570fd + e55c1c7 commit c1abba9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ConsoleAppFramework/RoslynExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ public static bool ZipEquals<T>(this IEnumerable<T> left, IEnumerable<T> right,
{
return ctor.ParameterList;
}
else if (node is ClassDeclarationSyntax primartyCtor)
else if (node is ClassDeclarationSyntax primaryCtor)
{
return primartyCtor.ParameterList;
return primaryCtor.ParameterList;
}
else
{
Expand Down

0 comments on commit c1abba9

Please sign in to comment.