1 instantiation of SameException
xunit.assert (1)
Sdk\Exceptions\SameException.cs (1)
36
new
SameException
(
6 references to SameException
Microsoft.DotNet.XUnitAssert.Tests (2)
Asserts\IdentityAssertsTests.cs (2)
41
Assert.IsType<
SameException
>(ex);
54
Assert.Throws<
SameException
>(() => Assert.Same(0, 0));
xunit.assert (4)
IdentityAsserts.cs (2)
37
/// <exception cref="
SameException
">Thrown when the objects are not the same instance</exception>
48
throw
SameException
.ForFailure(
Sdk\Exceptions\SameException.cs (2)
28
/// Creates a new instance of the <see cref="
SameException
"/> class to be thrown
33
public static
SameException
ForFailure(