10 instantiations of IntWrapper
Microsoft.DotNet.XUnitAssert.Tests (10)
EqualityAssertsTests.cs (10)
525
var actual = new
IntWrapper
(1);
534
var actual = new
IntWrapper
(2);
555
var actual = new
IntWrapper
(1);
564
var actual = new
IntWrapper
(2);
585
var actual = new
IntWrapper
(1);
594
var actual = new
IntWrapper
(2);
615
var actual = new
IntWrapper
(1);
624
var actual = new
IntWrapper
(2);
645
var actual = new
IntWrapper
(1);
654
var actual = new
IntWrapper
(2);
23 references to IntWrapper
Microsoft.DotNet.XUnitAssert.Tests (23)
EqualityAssertsTests.cs (23)
525
var
actual = new IntWrapper(1);
534
var
actual = new IntWrapper(2);
539
class ImplicitIEquatableExpected : IEquatable<
IntWrapper
>
548
public bool Equals(
IntWrapper
? other) => Value == other!.Value;
555
var
actual = new IntWrapper(1);
564
var
actual = new IntWrapper(2);
569
class ExplicitIEquatableExpected : IEquatable<
IntWrapper
>
578
bool IEquatable<
IntWrapper
>.Equals(
IntWrapper
? other) => Value == other!.Value;
585
var
actual = new IntWrapper(1);
594
var
actual = new IntWrapper(2);
599
class ImplicitIComparableExpected : IComparable<
IntWrapper
>
608
public int CompareTo(
IntWrapper
? other) => Value.CompareTo(other!.Value);
615
var
actual = new IntWrapper(1);
624
var
actual = new IntWrapper(2);
629
class ExplicitIComparableActual : IComparable<
IntWrapper
>
638
int IComparable<
IntWrapper
>.CompareTo(
IntWrapper
? other) => Value.CompareTo(other!.Value);
645
var
actual = new IntWrapper(1);
654
var
actual = new IntWrapper(2);
659
class IComparableActualThrower : IComparable<
IntWrapper
>
668
public int CompareTo(
IntWrapper
? other)
673
public override bool Equals(object? obj) => Value == ((
IntWrapper
?)obj)!.Value;