1 instantiation of SameException
xunit.assert (1)
IdentityAsserts.cs (1)
51
throw new
SameException
(expected, actual);
6 references to SameException
Microsoft.DotNet.XUnitAssert.Tests (4)
IdentityAssertsTests.cs (4)
31
Assert.Throws<
SameException
>(() => Assert.Same("bob", "jim"));
42
var
sex = Assert.IsType<
SameException
>(ex);
52
Assert.Throws<
SameException
>(() => Assert.Same(index, index));
xunit.assert (2)
IdentityAsserts.cs (1)
40
/// <exception cref="
SameException
">Thrown when the objects are not the same instance</exception>
Sdk\Exceptions\SameException.cs (1)
18
/// Creates a new instance of the <see cref="
SameException
"/> class.