20 instantiations of IntWrapper
Microsoft.DotNet.XUnitAssert.Tests (20)
EqualityAssertsTests.cs (20)
460
object actual = new
IntWrapper
(1);
469
object actual = new
IntWrapper
(2);
490
object actual = new
IntWrapper
(1);
499
object actual = new
IntWrapper
(2);
516
object actual = new
IntWrapper
(1);
525
object actual = new
IntWrapper
(2);
685
object actual = new
IntWrapper
(1);
694
object actual = new
IntWrapper
(2);
715
object actual = new
IntWrapper
(1);
724
object actual = new
IntWrapper
(2);
2782
object actual = new
IntWrapper
(1);
2799
object actual = new
IntWrapper
(2);
2812
object actual = new
IntWrapper
(1);
2829
object actual = new
IntWrapper
(2);
2838
object actual = new
IntWrapper
(1);
2855
object actual = new
IntWrapper
(2);
3007
object actual = new
IntWrapper
(1);
3024
object actual = new
IntWrapper
(2);
3037
object actual = new
IntWrapper
(1);
3054
object actual = new
IntWrapper
(2);
13 references to IntWrapper
Microsoft.DotNet.XUnitAssert.Tests (13)
EqualityAssertsTests.cs (13)
4485
class ImplicitIEquatableExpected : IEquatable<
IntWrapper
>
4494
public bool Equals(
IntWrapper
? other) => Value == other!.Value;
4497
class ExplicitIEquatableExpected : IEquatable<
IntWrapper
>
4506
bool IEquatable<
IntWrapper
>.Equals(
IntWrapper
? other) => Value == other!.Value;
4509
class ImplicitIComparableExpected : IComparable<
IntWrapper
>
4518
public int CompareTo(
IntWrapper
? other) => Value.CompareTo(other!.Value);
4521
class ExplicitIComparableActual : IComparable<
IntWrapper
>
4530
int IComparable<
IntWrapper
>.CompareTo(
IntWrapper
? other) => Value.CompareTo(other!.Value);
4533
class IComparableActualThrower : IComparable<
IntWrapper
>
4542
public int CompareTo(
IntWrapper
? other)
4547
public override bool Equals(object? obj) => Value == ((
IntWrapper
?)obj)!.Value;