16 references to ExceptionResource
System.Text.RegularExpressions (16)
System\Text\RegularExpressions\MatchCollection.cs (1)
70
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.startat,
ExceptionResource
.BeginIndexNotNegative);
System\Text\RegularExpressions\Regex.cs (2)
569
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.startat,
ExceptionResource
.BeginIndexNotNegative);
573
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.length,
ExceptionResource
.LengthNotNegative);
System\Text\RegularExpressions\Regex.EnumerateSplits.cs (2)
163
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count,
ExceptionResource
.CountTooSmall);
168
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.startat,
ExceptionResource
.BeginIndexNotNegative);
System\Text\RegularExpressions\Regex.Replace.cs (2)
618
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count,
ExceptionResource
.CountTooSmall);
622
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.startat,
ExceptionResource
.BeginIndexNotNegative);
System\Text\RegularExpressions\Regex.Split.cs (2)
282
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count,
ExceptionResource
.CountTooSmall);
286
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.startat,
ExceptionResource
.BeginIndexNotNegative);
System\Text\RegularExpressions\RegexReplacement.cs (2)
198
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count,
ExceptionResource
.CountTooSmall);
202
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.startat,
ExceptionResource
.BeginIndexNotNegative);
System\Text\RegularExpressions\ThrowHelper.cs (5)
19
internal static void ThrowArgumentOutOfRangeException(ExceptionArgument arg,
ExceptionResource
resource) =>
45
private static string? GetStringForExceptionResource(
ExceptionResource
resource) =>
48
ExceptionResource
.BeginIndexNotNegative => SR.BeginIndexNotNegative,
49
ExceptionResource
.CountTooSmall => SR.CountTooSmall,
50
ExceptionResource
.LengthNotNegative => SR.LengthNotNegative,