16 references to ExceptionResource
System.Text.RegularExpressions (16)
System\Text\RegularExpressions\MatchCollection.cs (1)
29ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.startat, ExceptionResource.BeginIndexNotNegative);
System\Text\RegularExpressions\Regex.cs (2)
417ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.startat, ExceptionResource.BeginIndexNotNegative); 421ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.length, ExceptionResource.LengthNotNegative);
System\Text\RegularExpressions\Regex.EnumerateSplits.cs (2)
161ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count, ExceptionResource.CountTooSmall); 166ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.startat, ExceptionResource.BeginIndexNotNegative);
System\Text\RegularExpressions\Regex.Replace.cs (2)
163ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count, ExceptionResource.CountTooSmall); 167ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.startat, ExceptionResource.BeginIndexNotNegative);
System\Text\RegularExpressions\Regex.Split.cs (2)
76ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count, ExceptionResource.CountTooSmall); 80ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.startat, ExceptionResource.BeginIndexNotNegative);
System\Text\RegularExpressions\RegexReplacement.cs (2)
198ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count, ExceptionResource.CountTooSmall); 202ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.startat, ExceptionResource.BeginIndexNotNegative);
System\Text\RegularExpressions\ThrowHelper.cs (5)
19internal static void ThrowArgumentOutOfRangeException(ExceptionArgument arg, ExceptionResource resource) => 45private static string? GetStringForExceptionResource(ExceptionResource resource) => 48ExceptionResource.BeginIndexNotNegative => SR.BeginIndexNotNegative, 49ExceptionResource.CountTooSmall => SR.CountTooSmall, 50ExceptionResource.LengthNotNegative => SR.LengthNotNegative,