Skip to content

Commit 58c9adb

Browse files
committed
CQ: Fix
1 parent 16e8842 commit 58c9adb

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/Files.Core.SourceGenerator/Generators/RealTimeLayoutGenerator.cs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ private static bool IsValidCandidate(SyntaxNode syntaxNode)
4747
{
4848
return classDeclaration.BaseList?.Types.Any(baseType => baseType.Type is IdentifierNameSyntax identifier &&
4949
(identifier.Identifier.Text == SpecificationWindowName || identifier.Identifier.Text == SpecificationControlName)) == true;
50-
}
50+
}
5151
return false;
5252
}
5353

@@ -186,10 +186,9 @@ private static IEnumerable<StatementSyntax> CreateContentLayoutBody(Specificatio
186186
.WithArgumentList(
187187
SyntaxFactory.ArgumentList(
188188
SyntaxFactory.SeparatedList(
189-
new[]
190-
{
191-
SyntaxFactory.Argument(SyntaxFactory.ThisExpression()),
192-
SyntaxFactory.Argument(SyntaxFactory.IdentifierName("UpdateContentLayout"))
189+
new[]{
190+
SyntaxFactory.Argument(SyntaxFactory.ThisExpression()),
191+
SyntaxFactory.Argument(SyntaxFactory.IdentifierName("UpdateContentLayout"))
193192
})))));
194193
}
195194

0 commit comments

Comments
 (0)