Skip to content
Discussion options

You must be logged in to vote

Unsafe.SkipInit is not known by the language. It is just a runtime-provided helper. Without generic parameter support, such helper can't be defined for ref structs.

Ref fields and reference type fields must be initialized to null since GC can't handle wild references.

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@irvnriir
Comment options

@huoyaoyuan
Comment options

Answer selected by irvnriir
@irvnriir
Comment options

@huoyaoyuan
Comment options

@irvnriir
Comment options

@irvnriir
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants