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 bcb327d commit 9c607b0Copy full SHA for 9c607b0
src/CommunityToolkit.Mvvm.SourceGenerators/ComponentModel/ObservablePropertyGenerator.Execute.cs
@@ -961,7 +961,7 @@ public static MemberDeclarationSyntax GetPropertySyntax(PropertyInfo propertyInf
961
.AddArgumentListArguments(
962
Argument(fieldExpression),
963
Argument(IdentifierName("value")))),
964
- Block(setterStatements.ToArray()));
+ Block(setterStatements.AsEnumerable()));
965
966
// Prepare the forwarded attributes, if any
967
ImmutableArray<AttributeListSyntax> forwardedAttributes =
0 commit comments