Closed Youssef1313 closed 8 months ago
When the property symbol comes from a record primary constructor (i.e, associated with ParameterSyntax), the property will have property.IsReadOnly = false, which would avoid the invalid cast to BasePropertyDeclarationSyntax.
BasePropertyDeclarationSyntax
Thanks for the fix!
When the property symbol comes from a record primary constructor (i.e, associated with ParameterSyntax), the property will have property.IsReadOnly = false, which would avoid the invalid cast to
BasePropertyDeclarationSyntax
.