Skip to content

Why is there no readonly ref record struct? #5431

Answered by 333fred
hugener asked this question in General
Discussion options

You must be logged in to vote

record struct S implies implementing IEquatable<S>. ref structs cannot implement interfaces.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@hugener
Comment options

@hypeartist
Comment options

@CyrusNajmabadi
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by jnm2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants