dotnet / dotnet/csharplang

[Proposal]: Unsafe evolution

Open
#9,704 0 comments 0 reactions 2 assignees Claimed by @agocke View on GitHub
Proposal Proposal champion
Dominant language
C#
Stars
12.7k
Forks
1.1k
Avg merge
11h 1m
Merged PRs (30d)
3

Description

# Unsafe evolution

* Specification: https://github.com/dotnet/csharplang/blob/main/proposals/unsafe-evolution.md
* .NET Design: https://github.com/dotnet/designs/blob/main/proposed/caller-unsafe.md
* Discussion: https://github.com/dotnet/csharplang/discussions/9705
* Implementation: https://github.com/dotnet/roslyn/issues/81207

## Summary
[summary]: #summary

Evolving unsafe in C# to cover general memory unsafety.

## Design meetings

* https://github.com/dotnet/csharplang/blob/main/meetings/2025/LDM-2025-09-17.md#unsafe-evolution
* https://github.com/dotnet/csharplang/blob/main/meetings/2025/LDM-2025-10-29.md#unsafe-evolution
* https://github.com/dotnet/csharplang/blob/main/meetings/2025/LDM-2025-11-05.md#unsafe-evolution
* https://github.com/dotnet/csharplang/blob/main/meetings/2025/LDM-2025-11-12.md#unsafe-evolution
* https://github.com/dotnet/csharplang/blob/main/meetings/2026/LDM-2026-01-21.md#unsafe-evolution
* https://github.com/dotnet/csharplang/blob/main/meetings/2026/LDM-2026-01-26.md#alternative-syntax-for-caller-unsafe
* https://github.com/dotnet/csharplang/blob/main/meetings/2026/LDM-2026-04-01.md#unsafe-evolution-migration-and-explicit-safety-markers
* https://github.com/dotnet/csharplang/blob/main/meetings/2026/LDM-2026-04-06.md#unsafe-evolution-continued
* https://github.com/dotnet/csharplang/blob/main/meetings/2026/LDM-2026-04-13.md#unsafe-evolution-continued
* https://github.com/dotnet/csharplang/blob/main/meetings/2026/LDM-2026-04-22.md#unsafe-evolution-continued
* https://github.com/dotnet/csharplang/blob/main/meetings/2026/LDM-2026-05-13.md#unsafe-evolution-continued
* https://github.com/dotnet/csharplang/blob/main/meetings/2026/LDM-2026-05-27.md#unsafe-evolution
* https://github.com/dotnet/csharplang/blob/main/meetings/2026/LDM-2026-07-01.md#unsafe-awaits
* https://github.com/dotnet/csharplang/blob/main/meetings/2026/LDM-2026-07-22.md#allowing-safe-on-non-extern-members

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.