1 instantiation of MatchesException
xunit.assert (1)
Sdk\Exceptions\MatchesException.cs (1)
42 new MatchesException(
10 references to MatchesException
Microsoft.DotNet.XUnitAssert.Tests (4)
StringAssertsTests.cs (4)
755 Assert.IsType<MatchesException>(ex); 769 Assert.IsType<MatchesException>(ex); 804 Assert.IsType<MatchesException>(ex); 818 Assert.IsType<MatchesException>(ex);
xunit.assert (6)
Sdk\Exceptions\MatchesException.cs (2)
30 /// Creates a new instance of the <see cref="MatchesException"/> class to be thrown when 35 public static MatchesException ForMatchNotFound(
StringAsserts.cs (4)
1352 /// <exception cref="MatchesException">Thrown when the string does not match the regex pattern</exception> 1365 throw MatchesException.ForMatchNotFound(expectedRegexPattern, actualString); 1373 /// <exception cref="MatchesException">Thrown when the string does not match the regex</exception> 1385 throw MatchesException.ForMatchNotFound(expectedRegex.ToString(), actualString);