net9.0
namespace System.Text.RegularExpressions
{
    public class Regex : ISerializable
    {
        [Obsolete("Regex.CompileToAssembly is obsolete and not supported. Use the GeneratedRegexAttribute with the regular expression source generator instead.", DiagnosticId = "SYSLIB0036", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
        public static void CompileToAssembly(RegexCompilationInfo![]! regexinfos, AssemblyName! assemblyname);
    }
}
NetFx Compat Lab
1.3 %
Reference this API
nuget.org
0.0 %
Reference this API
Assembly System.Text.RegularExpressions , Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
Obsolete SYSLIB0036: Regex.CompileToAssembly is obsolete and not supported. Use the GeneratedRegexAttribute with the regular expression source generator instead.
Implementation Source
Help Documentation
Design Reviews
.NET 5.06.07.08.09.0
.NET Core 2.12.23.03.0 (windows)3.13.1 (windows)
.NET Framework 1.01.12.03.03.53.5 (Client)4.04.0 (Client)4.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1
OS Platforms

For the selected framework this API is supported on all OS platforms.

  • Built-in API
  • Package-provided API

04/30/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙