1 instantiation of MatchesException
xunit.assert (1)
Sdk\Exceptions\MatchesException.cs (1)
37 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)
25 /// Creates a new instance of the <see cref="MatchesException"/> class to be thrown when 30 public static MatchesException ForMatchNotFound(
StringAsserts.cs (4)
1344 /// <exception cref="MatchesException">Thrown when the string does not match the regex pattern</exception> 1357 throw MatchesException.ForMatchNotFound(expectedRegexPattern, actualString); 1365 /// <exception cref="MatchesException">Thrown when the string does not match the regex</exception> 1377 throw MatchesException.ForMatchNotFound(expectedRegex.ToString(), actualString);