Skip to content

[C# 15-Fundamentals and reference]: New Feature - Improved memory safety #54011

@BillWagner

Description

@BillWagner

.NET 11 Preview

.NET 11 Preview 5

Link to speclet

Link to Pull request

New behavior

There are a number of PRs on this journey, so I didn't call out just one.

This is primarily a runtime feature, so the language reference changes are around how to manage the changes in the unsafe keyword's semantics. In addition, any new attributes that are added for annotating APIs should be documented.

Language reference tasks

  • Document how to switch between old and new models of safety.
  • Full semantics on the new meaning of unsafe both for a block and for a member (or local function).
  • Point to preview status, and how and when it will be enabled in the runtime.

Everyday C# tasks

No response


Associated WorkItem - 582359

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

Status

🔖 Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions