2 types derived from EquatableBaseClass
Microsoft.DotNet.XUnitAssert.Tests (2)
EqualityAssertsTests.cs (2)
4459
class EquatableSubClassA :
EquatableBaseClass
4464
class EquatableSubClassB :
EquatableBaseClass
8 instantiations of EquatableBaseClass
Microsoft.DotNet.XUnitAssert.Tests (8)
EqualityAssertsTests.cs (8)
628
var expected = new
EquatableBaseClass
(1);
637
var expected = new
EquatableBaseClass
(1);
655
var actual = new
EquatableBaseClass
(1);
664
var actual = new
EquatableBaseClass
(2);
2950
var expected = new
EquatableBaseClass
(1);
2967
var expected = new
EquatableBaseClass
(1);
2977
var actual = new
EquatableBaseClass
(1);
2994
var actual = new
EquatableBaseClass
(2);
14 references to EquatableBaseClass
Microsoft.DotNet.XUnitAssert.Tests (14)
EqualityAssertsTests.cs (14)
605
Assert.Equal<
EquatableBaseClass
>(expected, actual);
614
var ex = Record.Exception(() => Assert.Equal<
EquatableBaseClass
>(expected, actual));
628
var
expected = new EquatableBaseClass(1);
637
var
expected = new EquatableBaseClass(1);
655
var
actual = new EquatableBaseClass(1);
664
var
actual = new EquatableBaseClass(2);
2927
var ex = Record.Exception(() => Assert.NotEqual<
EquatableBaseClass
>(expected, actual));
2944
Assert.NotEqual<
EquatableBaseClass
>(expected, actual);
2950
var
expected = new EquatableBaseClass(1);
2967
var
expected = new EquatableBaseClass(1);
2977
var
actual = new EquatableBaseClass(1);
2994
var
actual = new EquatableBaseClass(2);
4447
class EquatableBaseClass : IEquatable<
EquatableBaseClass
>
4456
public bool Equals(
EquatableBaseClass
? other) => Value == other!.Value;