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