We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbfa14b commit cfe96a4Copy full SHA for cfe96a4
src/Framework/AspNetCoreAnalyzers/src/SourceGenerators/PublicTopLevelProgramGenerator.cs
@@ -29,7 +29,7 @@ public void Initialize(IncrementalGeneratorInitializationContext context)
29
TypeKind: TypeKind.Class,
30
// If there are multiple partial declarations, then do nothing since we don't want
31
// to trample on visibility explicitly set by the user
32
- DeclaratingSyntaxReferences: [var singleSyntaxReference]
+ DeclaraingSyntaxReferences: [var singleSyntaxReference]
33
} &&
34
// If the `Program` class is already declared in user code, we don't need to generate anything.
35
singleSyntaxReference.GetSyntax(cancellationToken) is not ClassDeclarationSyntax
0 commit comments