Gets or sets a value that indicates whether the compiled regular expression has public visibility.
Assembly: System (in System.dll)
If the Regex.CompileToAssembly 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.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
Available since 1.1