6 references to DefaultTimeoutFieldName
System.Text.RegularExpressions.Generator (6)
RegexGenerator.Emitter.cs (6)
120
/// <summary>Name of the helper type field that indicates whether <see cref="
DefaultTimeoutFieldName
"/> is non-infinite.</summary>
149
writer.WriteLine($" ValidateMatchTimeout({HelpersTypeName}.{
DefaultTimeoutFieldName
});");
150
writer.WriteLine($" base.internalMatchTimeout = {HelpersTypeName}.{
DefaultTimeoutFieldName
};");
248
$"internal static readonly TimeSpan {
DefaultTimeoutFieldName
} = AppContext.GetData(\"REGEX_DEFAULT_MATCH_TIMEOUT\") is TimeSpan timeout ? timeout : Regex.InfiniteMatchTimeout;",
250
$"/// <summary>Whether <see cref=\"{
DefaultTimeoutFieldName
}\"/> is non-infinite.</summary>",
251
$"internal static readonly bool {HasDefaultTimeoutFieldName} = {
DefaultTimeoutFieldName
} != Regex.InfiniteMatchTimeout;",