15 references to Format
System.Text.RegularExpressions.Generator (15)
src\runtime\src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexCharClass.cs (1)
1858
SR.Format(SR.MakeException, pattern, currentPos, SR.
Format
(SR.UnrecognizedUnicodeProperty, capname)));
src\runtime\src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexParser.cs (14)
437
MakeException(RegexParseError.NestedQuantifiersNotParenthesized, SR.
Format
(SR.NestedQuantifiersNotParenthesized, ch)) :
438
MakeException(RegexParseError.QuantifierAfterNothing, SR.
Format
(SR.QuantifierAfterNothing, ch));
670
throw MakeException(RegexParseError.ShorthandClassInCharacterRange, SR.
Format
(SR.ShorthandClassInCharacterRange, ch));
682
throw MakeException(RegexParseError.ShorthandClassInCharacterRange, SR.
Format
(SR.ShorthandClassInCharacterRange, ch));
694
throw MakeException(RegexParseError.ShorthandClassInCharacterRange, SR.
Format
(SR.ShorthandClassInCharacterRange, ch));
707
throw MakeException(RegexParseError.ShorthandClassInCharacterRange, SR.
Format
(SR.ShorthandClassInCharacterRange, ch));
973
throw MakeException(RegexParseError.UndefinedNumberedReference, SR.
Format
(SR.UndefinedNumberedReference, uncapnum));
988
throw MakeException(RegexParseError.UndefinedNamedReference, SR.
Format
(SR.UndefinedNamedReference, uncapname));
1032
throw MakeException(RegexParseError.AlternationHasUndefinedReference, SR.
Format
(SR.AlternationHasUndefinedReference, capnum.ToString()));
1035
throw MakeException(RegexParseError.AlternationHasMalformedReference, SR.
Format
(SR.AlternationHasMalformedReference, capnum.ToString()));
1279
throw MakeException(RegexParseError.UndefinedNumberedReference, SR.
Format
(SR.UndefinedNumberedReference, capnum.ToString()));
1329
throw MakeException(RegexParseError.UndefinedNumberedReference, SR.
Format
(SR.UndefinedNumberedReference, capnum.ToString()));
1345
throw MakeException(RegexParseError.UndefinedNamedReference, SR.
Format
(SR.UndefinedNamedReference, capname));
1686
throw MakeException(RegexParseError.UnrecognizedEscape, SR.
Format
(SR.UnrecognizedEscape, ch));