csharpstandard icon indicating copy to clipboard operation
csharpstandard copied to clipboard

Remember to update ref-safe-context of output parameters for C# 11

Open Nigel-Ecma opened this issue 2 years ago • 0 comments

A draft of the C# 7 Standard defined the ref-safe-context of output-parameters as function-member, before C# 11 it was caller-context. The C# 7 draft was corrected, this is a reminder that when C# 11 comes along this switches back to function-member as its a fairly obscure change (documented here).

Nigel-Ecma avatar May 26 '23 05:05 Nigel-Ecma