Class DoesNotContainException
- Namespace
- Xunit.Sdk
- Assembly
- xunit.v3.assert.dll
Exception thrown when Assert.DoesNotContain fails.
public class DoesNotContainException : XunitException, ISerializable, IAssertionException
- Inheritance
-
DoesNotContainException
- Implements
- Inherited Members
Methods
- ForCollectionFilterMatched(int, int?, string)
Creates a new instance of the DoesNotContainException class to be thrown when the requested filter matches an item in the collection.
- ForCollectionItemFound(string, int, int?, string)
Creates a new instance of the DoesNotContainException class to be thrown when the requested item was found in the collection.
- ForKeyFound(string, string)
Creates a new instance of the DoesNotContainException class to be thrown when the requested key was found in the dictionary.
- ForSetItemFound(string, string)
Creates a new instance of the DoesNotContainException class to be thrown when the requested item was found in the set.
- ForSubMemoryFound(string, int, int?, string)
Creates a new instance of the DoesNotContainException class to be thrown when the requested sub-memory was found in the memory.
- ForSubSpanFound(string, int, int?, string)
Creates a new instance of the DoesNotContainException class to be thrown when the requested sub-span was found in the span.
- ForSubStringFound(string, int, string)
Creates a new instance of the DoesNotContainException class to be thrown when the requested sub-string was found in the string.