Closed ddunkin closed 3 years ago
This type of record still isn't supported, though I don't know how likely it would be to find this in real code:
public record FunRecord(int TheFun) { public int DoubleTheFun => 2 * TheFun; }
A simple workaround would be to use a method instead of a computed property.
This type of record still isn't supported, though I don't know how likely it would be to find this in real code:
A simple workaround would be to use a method instead of a computed property.