9 private string pattern;
15 private string nspace;
17 private bool isPublic;
19 [OptionalField(VersionAdded = 2)]
71 if (value.Length == 0)
73 throw new ArgumentException(SR.GetString(
"InvalidNullEmptyArgument",
"value"),
"value");
124 matchTimeout = value;
129 private void InitMatchTimeoutDefaultForOldVersionDeserialization(
StreamingContext unusedContext)
131 matchTimeout =
Regex.DefaultMatchTimeout;
148 : this(pattern, options, name, fullnamespace, ispublic,
Regex.DefaultMatchTimeout)
173 this.options = options;
RegexCompilationInfo(string pattern, RegexOptions options, string name, string fullnamespace, bool ispublic)
Initializes a new instance of the T:System.Text.RegularExpressions.RegexCompilationInfo class that co...
The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method th...
bool IsPublic
Gets or sets a value that indicates whether the compiled regular expression has public visibility.
static internal void ValidateMatchTimeout(TimeSpan matchTimeout)
Checks whether a time-out interval is within an acceptable range.
Describes the source and destination of a given serialized stream, and provides an additional caller-...
Provides information about a regular expression that is used to compile a regular expression to a sta...
RegexOptions Options
Gets or sets the options to use when compiling the regular expression.
string Pattern
Gets or sets the regular expression to compile.
RegexOptions
Provides enumerated values to use to set regular expression options.
The exception that is thrown when one of the arguments provided to a method is not valid.
Represents a time interval.To browse the .NET Framework source code for this type,...
Specifies that the class can be serialized.
string Name
Gets or sets the name of the type that represents the compiled regular expression.
string Namespace
Gets or sets the namespace to which the new type belongs.
Represents an immutable regular expression.To browse the .NET Framework source code for this type,...
RegexCompilationInfo(string pattern, RegexOptions options, string name, string fullnamespace, bool ispublic, TimeSpan matchTimeout)
Initializes a new instance of the T:System.Text.RegularExpressions.RegexCompilationInfo class that co...
TimeSpan MatchTimeout
Gets or sets the regular expression's default time-out interval.