You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Memory safety is a critical characteristic for Cloud and AI scenaros. We are making the definition of unsafe code more strict (more patterns are unsafe), making the use of unsafe code more viral (propogation), and making it easier to audit dependencies.
The following components are out of scope for the project.
Reflection
Context
We expect that user requirements will increasingly favor memory safe languages as Cloud and AI domains evolve. C# is already a memory safe language, however, we can do more to increase user confidence. Our project has significant overlap with Swift 6.2. It also has overlap with Rust behavior.
A related effort is reducing unsafe code in the codebase. This includes: adopting newer safe patterns that deliver acceptable (sometimes better) performance relative to and older unsafe pattern, removing unsafe code where it is needed/warranted, and creating new safe patterns (often in the JIT) to apply.
Activity
dotnet-policy-service commentedon Mar 19, 2026
Tagging subscribers to this area: @dotnet/area-meta
See info in area-owners.md if you want to be subscribed.
Remove [RequiresUnsafe] attribute usages (#127761)
Remove RequiresUnsafeAnalyzer and update the fixer (#127768)
Remove [RequiresUnsafe] attribute usages (#127761)
Remove RequiresUnsafeAnalyzer and update the fixer (#127768)