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