1 instantiation of MatchesException
xunit.assert (1)
Sdk\Exceptions\MatchesException.cs (1)
40 new MatchesException(
10 references to MatchesException
Microsoft.DotNet.XUnitAssert.Tests (4)
Asserts\StringAssertsTests.cs (4)
966 Assert.IsType<MatchesException>(ex); 980 Assert.IsType<MatchesException>(ex); 1015 Assert.IsType<MatchesException>(ex); 1029 Assert.IsType<MatchesException>(ex);
xunit.assert (6)
Sdk\Exceptions\MatchesException.cs (2)
28 /// Creates a new instance of the <see cref="MatchesException"/> class to be thrown when 33 public static MatchesException ForMatchNotFound(
StringAsserts.cs (4)
1362 /// <exception cref="MatchesException">Thrown when the string does not match the regex pattern</exception> 1375 throw MatchesException.ForMatchNotFound(expectedRegexPattern, actualString); 1383 /// <exception cref="MatchesException">Thrown when the string does not match the regex</exception> 1395 throw MatchesException.ForMatchNotFound(expectedRegex.ToString(), actualString);