Skip to content

Conversation

@pypkaed
Copy link
Contributor

@pypkaed pypkaed commented Nov 17, 2024

Summary

I noticed that the documentation doesn't mention that ref struct can't be boxed to object. This constraint is mentioned in https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/ref-struct part.


Internal previews

📄 File 🔗 Preview link
docs/csharp/language-reference/builtin-types/reference-types.md Built-in reference types (C# reference)

@pypkaed pypkaed requested review from a team and BillWagner as code owners November 17, 2024 21:20
@dotnetrepoman dotnetrepoman bot added this to the November 2024 milestone Nov 17, 2024
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates PR is created by someone from the .NET community. label Nov 17, 2024
Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @pypkaed

This LGTM. I'll :shipit: now.

@BillWagner BillWagner enabled auto-merge (squash) November 18, 2024 16:17
@BillWagner BillWagner merged commit 9e391fb into dotnet:main Nov 18, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Indicates PR is created by someone from the .NET community. dotnet-csharp/svc lang-reference/subsvc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants