2 instantiations of RegexParseException
System.Text.RegularExpressions.Generator (2)
src\runtime\src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexCharClass.cs (1)
1857
throw new
RegexParseException
(RegexParseError.UnrecognizedUnicodeProperty, currentPos,
src\runtime\src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexParser.cs (1)
2288
new
RegexParseException
(error, _pos, SR.Format(SR.MakeException, _pattern, _pos, message));
5 references to RegexParseException
System.Text.RegularExpressions.Generator (5)
src\runtime\src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexParseError.cs (2)
7
/// Specifies the detailed underlying reason why a <see cref="
RegexParseException
"/> is thrown when a
11
/// This information is made available through <see cref="
RegexParseException
.Error"/>.
src\runtime\src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexParser.cs (1)
2287
private readonly
RegexParseException
MakeException(RegexParseError error, string message) =>
UpgradeToGeneratedRegexAnalyzer.cs (1)
130
catch (
RegexParseException
)
UpgradeToGeneratedRegexCodeFixer.cs (1)
309
catch (
RegexParseException
)