3 references to Distinct
Microsoft.DotNet.XUnitAssert.Tests (3)
AsyncCollectionAssertsTests.cs (3)
393
Assert.Throws<ArgumentNullException>("comparer", () => Assert.
Distinct
(new object[0].ToAsyncEnumerable(), null!));
442
Assert.
Distinct
(list, StringComparer.Ordinal);
450
var ex = Record.Exception(() => Assert.
Distinct
(list, StringComparer.OrdinalIgnoreCase));