c4sharp
c4sharp copied to clipboard
Fix border style value being set incorrectly
In C#, the handling of is not null differs between record and record struct. Specifically, borderStyle.Value returns a non-nullable instance of BorderStyle, which results in the string representation being $borderStyle=BorderStyle { Value = SolidLine() }.
To fix this it is necessary to call .Value again or change BorderStyle to be a record