3 references to Distinct
Microsoft.DotNet.XUnitAssert.Tests (3)
Asserts\AsyncCollectionAssertsTests.cs (3)
398 Assert.Throws<ArgumentNullException>("comparer", () => Assert.Distinct(Array.Empty<object>().ToAsyncEnumerable(), null!)); 447 Assert.Distinct(list, StringComparer.Ordinal); 455 var ex = Record.Exception(() => Assert.Distinct(list, StringComparer.OrdinalIgnoreCase));