Skip to content

Commit 5aa5454

Browse files
authored
Fix typo
1 parent cfe96a4 commit 5aa5454

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Framework/AspNetCoreAnalyzers/src/SourceGenerators/PublicTopLevelProgramGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public void Initialize(IncrementalGeneratorInitializationContext context)
2929
TypeKind: TypeKind.Class,
3030
// If there are multiple partial declarations, then do nothing since we don't want
3131
// to trample on visibility explicitly set by the user
32-
DeclaraingSyntaxReferences: [var singleSyntaxReference]
32+
DeclaringSyntaxReferences: [var singleSyntaxReference]
3333
} &&
3434
// If the `Program` class is already declared in user code, we don't need to generate anything.
3535
singleSyntaxReference.GetSyntax(cancellationToken) is not ClassDeclarationSyntax

0 commit comments

Comments
 (0)