1 type derived from CollectionTracker
xunit.assert (1)
Sdk\CollectionTracker.cs (1)
470
| DynamicallyAccessedMemberTypes.PublicMethods)] T> :
CollectionTracker
, IEnumerable<T>
34 references to CollectionTracker
xunit.assert (34)
CollectionAsserts.cs (1)
463
using (
var
tracker = collection.AsTracker())
EqualityAsserts.cs (6)
151
var
expectedTracker = expected.AsNonStringTracker();
152
var
actualTracker = actual.AsNonStringTracker();
212
result =
CollectionTracker
.AreCollectionsEqual(expectedTracker, actualTracker, itemComparer, itemComparer == AssertEqualityComparer<T>.DefaultInnerComparer, out mismatchedIndex);
666
var
expectedTracker = expected.AsNonStringTracker();
667
var
actualTracker = actual.AsNonStringTracker();
733
result =
CollectionTracker
.AreCollectionsEqual(expectedTracker, actualTracker, itemComparer, itemComparer == AssertEqualityComparer<T>.DefaultInnerComparer, out mismatchedIndex);
Sdk\ArgumentFormatter.cs (2)
242
var
tracker = value as
CollectionTracker
;
Sdk\AssertEqualityComparer.cs (5)
177
using (
var
xTracker = x.AsNonStringTracker())
178
using (
var
yTracker = y.AsNonStringTracker())
187
CollectionTracker
? xTracker,
191
CollectionTracker
? yTracker,
250
return
CollectionTracker
.AreCollectionsEqual(xTracker, yTracker, InnerComparer, InnerComparer == DefaultInnerComparer, out mismatchedIndex);
Sdk\CollectionTracker.cs (14)
54
/// Initializes a new instance of the <see cref="
CollectionTracker
"/> class.
71
typeof(
CollectionTracker
)
95
CollectionTracker
? x,
96
CollectionTracker
? y,
122
CollectionTracker
? x,
123
CollectionTracker
? y,
177
CollectionTracker
? x,
178
CollectionTracker
? y
245
CollectionTracker
? x,
246
CollectionTracker
? y,
286
using (
var
xCurrentTracker = isDefaultItemComparer ? xCurrent.AsNonStringTracker() : null)
287
using (
var
yCurrentTracker = isDefaultItemComparer ? yCurrent.AsNonStringTracker() : null)
306
CollectionTracker
? x,
307
CollectionTracker
? y,
Sdk\CollectionTrackerExtensions.cs (6)
49
internal static
CollectionTracker
? AsNonStringTracker(this object? value)
66
public static
CollectionTracker
? AsTracker(this IEnumerable? enumerable)
74
var
result = enumerable as
CollectionTracker
;
79
return
CollectionTracker
.Wrap(enumerable);
123
public static IEnumerator GetEnumerator(this
CollectionTracker
tracker)