Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
PR feedback
  • Loading branch information
eerhardt authored and github-actions committed Aug 27, 2021
commit 630ed4447136495adb799c554202e2d931335e68
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ internal static bool IsSyntaxTargetForGeneration(SyntaxNode node) =>

foreach (AttributeListSyntax attributeListSyntax in methodDeclarationSyntax.AttributeLists)
{
foreach (var attributeSyntax in attributeListSyntax.Attributes)
foreach (AttributeSyntax attributeSyntax in attributeListSyntax.Attributes)
{
IMethodSymbol attributeSymbol = context.SemanticModel.GetSymbolInfo(attributeSyntax).Symbol as IMethodSymbol;
if (attributeSymbol == null)
Expand All @@ -55,7 +55,6 @@ internal static bool IsSyntaxTargetForGeneration(SyntaxNode node) =>
return methodDeclarationSyntax.Parent as ClassDeclarationSyntax;
}
}

}

return null;
Expand Down