dotnet / dotnet/csharpstandard

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

Open
#797 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
815
Forks
99
Avg merge
1d 14h
Merged PRs (30d)
16

Description

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](https://web.archive.org/web/20230329173448/https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/breaking-changes/compiler%20breaking%20changes%20-%20dotnet%207)).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.