Skip to content

Conversation

@BillWagner
Copy link
Member

@BillWagner BillWagner commented Feb 6, 2025

Fixes #44137

The updates for sizeof and unmanaged in C# 11 weren't completely incorporated into the language reference articles correctly.

Update them and perform an edit pass.


Internal previews

📄 File 🔗 Preview link
docs/csharp/language-reference/operators/sizeof.md sizeof operator - determine the memory needs for a given type
docs/csharp/language-reference/unsafe-code.md Unsafe code, pointer types, and function pointers

Fixes dotnet#44137

The updates for `sizeof` and `unmanaged` in C# 11 weren't completely incorporated into the language reference articles correctly.

Update them and perform an edit pass.
Co-authored-by: Genevieve Warren <[email protected]>
@BillWagner BillWagner enabled auto-merge (squash) February 6, 2025 21:24
@BillWagner BillWagner merged commit 96b6097 into dotnet:main Feb 6, 2025
8 checks passed
@BillWagner BillWagner deleted the unsafe-pointer-improvements branch February 6, 2025 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update sizeof and pointer type to keep up to date with C# 11, plus some fixes/improvements

2 participants