Skip to content

Commit e55c1c7

Browse files
authored
Rename ClassDeclarationSyntax variable from primartyCtor to primaryCtor
Use correct spelling for `ClassDeclarationSyntax` variable
1 parent e7570fd commit e55c1c7

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)