Permit a fixed field to be declared inside a readonly struct. #9020
Unanswered
gafter
asked this question in
Language Ideas
Replies: 1 comment
-
For me the primary motivation of allowing a fixed field inside of a readonly struct would be to make it more "ref readonly friendly" as described here. Not sure if this is the right place to ask but is this the only way to make such structs ref readonly friendly, or might there be a better way? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
From #1502
Permit a fixed field to be declared inside a readonly struct.
Beta Was this translation helpful? Give feedback.
All reactions