Skip to content

Commit c1abba9

Browse files
authored
Merge pull request #126 from dexcompiler/patch-1
Rename ClassDeclarationSyntax variable from primartyCtor to primaryCtor
2 parents e7570fd + e55c1c7 commit c1abba9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ConsoleAppFramework/RoslynExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ public static bool ZipEquals<T>(this IEnumerable<T> left, IEnumerable<T> right,
7373
{
7474
return ctor.ParameterList;
7575
}
76-
else if (node is ClassDeclarationSyntax primartyCtor)
76+
else if (node is ClassDeclarationSyntax primaryCtor)
7777
{
78-
return primartyCtor.ParameterList;
78+
return primaryCtor.ParameterList;
7979
}
8080
else
8181
{

0 commit comments

Comments
 (0)