3 references to DoesNotContain
Microsoft.DotNet.XUnitAssert.Tests (3)
AsyncCollectionAssertsTests.cs (3)
519 Assert.Throws<ArgumentNullException>("collection", () => Assert.DoesNotContain(14, default(IAsyncEnumerable<int>)!, comparer)); 520 Assert.Throws<ArgumentNullException>("comparer", () => Assert.DoesNotContain(14, new int[0].ToAsyncEnumerable(), null!)); 528 Assert.DoesNotContain(42, list, new MyComparer());