Documentation for this section has not yet been entered.
If the RegexCompilationInfo.IsPublic property is false, the regular expression class defined by the current instance can be instantiated only by code that is executing in the assembly that contains the class. However, because the Regex.CompileToAssembly(RegexCompilationInfo[], System.Reflection.AssemblyName) method generates an assembly that contains only compiled regular expressions and does not allow additional code to be added, there is generally no reason to assign this property a value of false.