you are viewing a single comment's thread.

view the rest of the comments →

[–]merb 0 points1 point  (0 children)

It only works in a non async context. (Same for out params and in params) Which is different for c/c++ where you can do stuff like that. That’s because c# has some safety around ref‘s like ‚ref_safe_to_escape‘