3 references to Contains
Microsoft.DotNet.XUnitAssert.Tests (3)
Asserts\AsyncCollectionAssertsTests.cs (3)
337 Assert.Throws<ArgumentNullException>("collection", () => Assert.Contains(14, default(IAsyncEnumerable<int>)!, comparer)); 338 Assert.Throws<ArgumentNullException>("comparer", () => Assert.Contains(14, Array.Empty<int>().ToAsyncEnumerable(), null!)); 346 Assert.Contains(43, list, new MyComparer());