# System.Text.RegularExpressions ``` diff namespace System.Text.RegularExpressions { public class Regex : ISerializable { + public static void CompileToAssembly(RegexCompilationInfo[] regexinfos, AssemblyName assemblyname); + public static void CompileToAssembly(RegexCompilationInfo[] regexinfos, AssemblyName assemblyname, CustomAttributeBuilder[] attributes); + public static void CompileToAssembly(RegexCompilationInfo[] regexinfos, AssemblyName assemblyname, CustomAttributeBuilder[] attributes, string resourceFile); } + public class RegexCompilationInfo { + public RegexCompilationInfo(string pattern, RegexOptions options, string name, string fullnamespace, bool ispublic); + public RegexCompilationInfo(string pattern, RegexOptions options, string name, string fullnamespace, bool ispublic, TimeSpan matchTimeout); + public bool IsPublic { get; set; } + public TimeSpan MatchTimeout { get; set; } + public string Name { get; set; } + public string Namespace { get; set; } + public RegexOptions Options { get; set; } + public string Pattern { get; set; } + } } ```