16 references to ExceptionResource
System.Text.RegularExpressions (16)
System\Text\RegularExpressions\MatchCollection.cs (1)
29
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.startat,
ExceptionResource
.BeginIndexNotNegative);
System\Text\RegularExpressions\Regex.cs (2)
417
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.startat,
ExceptionResource
.BeginIndexNotNegative);
421
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.length,
ExceptionResource
.LengthNotNegative);
System\Text\RegularExpressions\Regex.EnumerateSplits.cs (2)
161
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count,
ExceptionResource
.CountTooSmall);
166
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.startat,
ExceptionResource
.BeginIndexNotNegative);
System\Text\RegularExpressions\Regex.Replace.cs (2)
163
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count,
ExceptionResource
.CountTooSmall);
167
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.startat,
ExceptionResource
.BeginIndexNotNegative);
System\Text\RegularExpressions\Regex.Split.cs (2)
76
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count,
ExceptionResource
.CountTooSmall);
80
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,