Repository navigation
Open
Description
Enrolled 153 / 270 (57%)
Each checkbox covers all projects under that library directory, including source, reference assemblies, generators, tests, and test assets. Shared folders are excluded.
NOTE: long term I guess all C# code should be migrated to the new rules including tests, not just libraries.
-
Microsoft.Bcl.AsyncInterfaces -
Microsoft.Bcl.Cryptography -
Microsoft.Bcl.Memory -
Microsoft.Bcl.Numerics -
Microsoft.Bcl.TimeProvider -
Microsoft.CSharp- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.Caching.Abstractions- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.Caching.Memory- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.Configuration- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.Configuration.Abstractions- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.Configuration.Binder- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.Configuration.CommandLine- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.Configuration.EnvironmentVariables- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.Configuration.FileExtensions- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.Configuration.Ini- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.Configuration.Json- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.Configuration.UserSecrets- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.Configuration.Xml- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.DependencyInjection- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.DependencyInjection.Abstractions- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.DependencyInjection.Specification.Tests- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.DependencyModel- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.Diagnostics- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.Diagnostics.Abstractions- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.FileProviders.Abstractions- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.FileProviders.Composite- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.FileProviders.Physical- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.FileSystemGlobbing- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.HostFactoryResolver -
Microsoft.Extensions.Hosting- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.Hosting.Abstractions- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.Hosting.Systemd- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.Hosting.WindowsServices- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.Http- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.Logging- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.Logging.Abstractions- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.Logging.Configuration- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.Logging.Console- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.Logging.Debug- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.Logging.EventLog- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.Logging.EventSource- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.Logging.TraceSource- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.Options- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.Options.ConfigurationExtensions- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.Options.DataAnnotations- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Extensions.Primitives- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.NETCore.Platforms -
Microsoft.VisualBasic(shim) -
Microsoft.VisualBasic.Core -
Microsoft.Win32.Primitives -
Microsoft.Win32.Registry- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Win32.Registry.AccessControl- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.Win32.SystemEvents- Enroll the Microsoft.* libraries and their tests in unsafe-v2 (net11.0+) #136720 -
Microsoft.XmlSerializer.Generator -
mscorlib(shim) -
netstandard(shim) -
stubs(shim) -
System(shim) -
System.AppContext(shim) -
System.Buffers(shim) -
System.CodeDom -
System.Collections -
System.Collections.Concurrent -
System.Collections.Immutable -
System.Collections.NonGeneric -
System.Collections.Specialized -
System.ComponentModel -
System.ComponentModel.Annotations -
System.ComponentModel.Composition -
System.ComponentModel.Composition.Registration -
System.ComponentModel.DataAnnotations(shim) -
System.ComponentModel.EventBasedAsync -
System.ComponentModel.Primitives -
System.ComponentModel.TypeConverter -
System.Composition -
System.Composition.AttributedModel -
System.Composition.Convention -
System.Composition.Hosting -
System.Composition.Runtime -
System.Composition.TypedParts -
System.Configuration(shim) -
System.Configuration.ConfigurationManager -
System.Console -
System.Core(shim) -
System.Data(shim) -
System.Data.Common -
System.Data.DataSetExtensions(shim) -
System.Data.Odbc -
System.Data.OleDb -
System.Diagnostics.Contracts -
System.Diagnostics.Debug(shim) -
System.Diagnostics.DiagnosticSource -
System.Diagnostics.EventLog -
System.Diagnostics.FileVersionInfo -
System.Diagnostics.PerformanceCounter -
System.Diagnostics.Process -
System.Diagnostics.StackTrace -
System.Diagnostics.TextWriterTraceListener -
System.Diagnostics.Tools(shim) -
System.Diagnostics.TraceSource -
System.Diagnostics.Tracing -
System.DirectoryServices -
System.DirectoryServices.AccountManagement -
System.DirectoryServices.Protocols -
System.Drawing(shim) -
System.Drawing.Primitives -
System.Dynamic.Runtime(shim) -
System.Formats.Asn1 -
System.Formats.Cbor -
System.Formats.Nrbf -
System.Formats.Tar -
System.Globalization(shim) -
System.Globalization.Calendars(shim) -
System.Globalization.Extensions(shim) -
System.IO(shim) -
System.IO.Compression- Enroll System.IO.Compression and its tests in unsafe-v2 #136657 -
System.IO.Compression.Brotli -
System.IO.Compression.FileSystem(shim) -
System.IO.Compression.ZipFile -
System.IO.FileSystem(shim) -
System.IO.FileSystem.AccessControl -
System.IO.FileSystem.DriveInfo -
System.IO.FileSystem.Primitives(shim) -
System.IO.FileSystem.Watcher -
System.IO.Hashing -
System.IO.IsolatedStorage -
System.IO.MemoryMappedFiles -
System.IO.Packaging -
System.IO.Pipelines -
System.IO.Pipes -
System.IO.Pipes.AccessControl -
System.IO.Ports -
System.IO.UnmanagedMemoryStream(shim) -
System.Linq -
System.Linq.AsyncEnumerable -
System.Linq.Expressions -
System.Linq.Parallel -
System.Linq.Queryable -
System.Management -
System.Memory -
System.Memory.Data -
System.Net(shim) -
System.Net.Http -
System.Net.Http.Json -
System.Net.Http.WinHttpHandler -
System.Net.HttpListener -
System.Net.Mail -
System.Net.NameResolution -
System.Net.NetworkInformation -
System.Net.Ping -
System.Net.Primitives -
System.Net.Quic -
System.Net.Requests -
System.Net.Security -
System.Net.ServerSentEvents -
System.Net.ServicePoint(shim) -
System.Net.Sockets -
System.Net.WebClient -
System.Net.WebHeaderCollection -
System.Net.WebProxy -
System.Net.WebSockets -
System.Net.WebSockets.Client -
System.Numerics(shim) -
System.Numerics.Tensors -
System.Numerics.Vectors -
System.ObjectModel -
System.Private.CoreLib(including all runtime implementations) -
System.Private.DataContractSerialization -
System.Private.Uri -
System.Private.Xml -
System.Private.Xml.Linq -
System.Reflection(shim) -
System.Reflection.Context -
System.Reflection.DispatchProxy -
System.Reflection.Emit -
System.Reflection.Emit.ILGeneration -
System.Reflection.Emit.Lightweight -
System.Reflection.Extensions(shim) -
System.Reflection.Extensions -
System.Reflection.Metadata -
System.Reflection.MetadataLoadContext -
System.Reflection.Primitives -
System.Reflection.TypeExtensions -
System.Resources.Extensions -
System.Resources.Reader(shim) -
System.Resources.ResourceManager(shim) -
System.Resources.Writer -
System.Runtime -
System.Runtime.Caching -
System.Runtime.CompilerServices.Unsafe(shim) -
System.Runtime.CompilerServices.VisualC -
System.Runtime.Extensions(shim) -
System.Runtime.Handles(shim) -
System.Runtime.InteropServices -
System.Runtime.InteropServices.JavaScript -
System.Runtime.InteropServices.RuntimeInformation(shim) -
System.Runtime.Intrinsics -
System.Runtime.Loader -
System.Runtime.Numerics -
System.Runtime.Serialization(shim) -
System.Runtime.Serialization.Formatters -
System.Runtime.Serialization.Json -
System.Runtime.Serialization.Primitives -
System.Runtime.Serialization.Schema -
System.Runtime.Serialization.Xml -
System.Security(shim) -
System.Security.AccessControl -
System.Security.Claims -
System.Security.Cryptography -
System.Security.Cryptography.Algorithms(shim) -
System.Security.Cryptography.Cng(shim) -
System.Security.Cryptography.Cng -
System.Security.Cryptography.Cose -
System.Security.Cryptography.Csp(shim) -
System.Security.Cryptography.Csp -
System.Security.Cryptography.Encoding(shim) -
System.Security.Cryptography.OpenSsl(shim) -
System.Security.Cryptography.OpenSsl -
System.Security.Cryptography.Pkcs -
System.Security.Cryptography.Primitives(shim) -
System.Security.Cryptography.ProtectedData -
System.Security.Cryptography.X509Certificates(shim) -
System.Security.Cryptography.Xml -
System.Security.Permissions -
System.Security.Principal(shim) -
System.Security.Principal.Windows -
System.Security.SecureString(shim) -
System.ServiceModel.Syndication -
System.ServiceModel.Web(shim) -
System.ServiceProcess(shim) -
System.ServiceProcess.ServiceController -
System.Speech -
System.Text.Encoding(shim) -
System.Text.Encoding.CodePages -
System.Text.Encoding.Extensions -
System.Text.Encodings.Web -
System.Text.Json -
System.Text.RegularExpressions -
System.Threading -
System.Threading.AccessControl -
System.Threading.Channels -
System.Threading.Overlapped -
System.Threading.RateLimiting -
System.Threading.Tasks(shim) -
System.Threading.Tasks.Dataflow -
System.Threading.Tasks.Extensions(shim) -
System.Threading.Tasks.Parallel -
System.Threading.Thread -
System.Threading.Thread.WebAssembly.Threading -
System.Threading.ThreadPool -
System.Threading.ThreadPool.WebAssembly.Threading -
System.Threading.Timer(shim) -
System.Threading.WebAssembly.Threading -
System.Transactions(shim) -
System.Transactions.Local -
System.ValueTuple(shim) -
System.Web(shim) -
System.Web.HttpUtility -
System.Windows(shim) -
System.Windows.Extensions -
System.Xml(shim) -
System.Xml.Linq(shim) -
System.Xml.ReaderWriter -
System.Xml.Serialization(shim) -
System.Xml.XDocument -
System.Xml.XmlDocument(shim) -
System.Xml.XmlSerializer -
System.Xml.XPath -
System.Xml.XPath.XDocument -
WindowsBase(shim)
How to enroll a library
- Unsafe-v2 spec: link
- Order of operations: link (tracking issue)
- Driver script (runs the fixers in the correct order): link
A prompt for reading all the relevant documentation and running the driver script:
Read https://gist.githubusercontent.com/EgorBo/271abeeac2bfb5a34013e4562507062e/raw/unsafe-v2-migration-agent-prompt.md in full
and follow it for **System.IO.Compression** and its tests. Run the driver once per project.
(I also tell it where to find a prebuilt dotnet/runtime in WSL so it can handle Linux targets there.)
Activity
dotnet-policy-service commentedon Oct 29, 2026
Tagging subscribers to this area: @dotnet/area-infrastructure-libraries
See info in area-owners.md if you want to be subscribed.
EgorBo commentedon Oct 29, 2026
cc @eduardo-vp
EgorBo commentedon Oct 30, 2026
NOTE: Roslyn crashes with SO when CoreLib is being enrolled into unsafe-v2. It is either dotnet/roslyn#86208 or dotnet/roslyn#85762