7 instantiations of DoesNotContainException
xunit.assert (7)
Sdk\Exceptions\DoesNotContainException.cs (7)
50 return new DoesNotContainException(message); 77 return new DoesNotContainException(message); 89 new DoesNotContainException( 109 new DoesNotContainException( 144 return new DoesNotContainException(message); 171 return new DoesNotContainException(message); 191 return new DoesNotContainException(
97 references to DoesNotContainException
Microsoft.DotNet.XUnitAssert.Tests (33)
Asserts\AsyncCollectionAssertsTests.cs (2)
490 Assert.IsType<DoesNotContainException>(ex); 562 Assert.IsType<DoesNotContainException>(ex);
Asserts\CollectionAssertsTests.cs (4)
563 Assert.IsType<DoesNotContainException>(ex); 596 Assert.IsType<DoesNotContainException>(ex); 615 Assert.IsType<DoesNotContainException>(ex); 681 Assert.IsType<DoesNotContainException>(ex);
Asserts\DictionaryAssertsTests.cs (1)
86 Assert.IsType<DoesNotContainException>(ex);
Asserts\MemoryAssertsTests.cs (10)
220 Assert.IsType<DoesNotContainException>(ex); 235 Assert.IsType<DoesNotContainException>(ex); 250 Assert.IsType<DoesNotContainException>(ex); 265 Assert.IsType<DoesNotContainException>(ex); 292 Assert.IsType<DoesNotContainException>(ex); 307 Assert.IsType<DoesNotContainException>(ex); 322 Assert.IsType<DoesNotContainException>(ex); 364 Assert.IsType<DoesNotContainException>(ex); 379 Assert.IsType<DoesNotContainException>(ex); 402 Assert.IsType<DoesNotContainException>(ex);
Asserts\SetAssertsTests.cs (1)
79 Assert.IsType<DoesNotContainException>(ex);
Asserts\SpanAssertsTests.cs (10)
220 Assert.IsType<DoesNotContainException>(ex); 235 Assert.IsType<DoesNotContainException>(ex); 250 Assert.IsType<DoesNotContainException>(ex); 265 Assert.IsType<DoesNotContainException>(ex); 292 Assert.IsType<DoesNotContainException>(ex); 307 Assert.IsType<DoesNotContainException>(ex); 322 Assert.IsType<DoesNotContainException>(ex); 364 Assert.IsType<DoesNotContainException>(ex); 379 Assert.IsType<DoesNotContainException>(ex); 402 Assert.IsType<DoesNotContainException>(ex);
Asserts\StringAssertsTests.cs (5)
175 Assert.IsType<DoesNotContainException>(ex); 209 Assert.IsType<DoesNotContainException>(ex); 237 Assert.IsType<DoesNotContainException>(ex); 265 Assert.IsType<DoesNotContainException>(ex); 293 Assert.IsType<DoesNotContainException>(ex);
xunit.assert (64)
AsyncCollectionAsserts.cs (3)
163 /// <exception cref="DoesNotContainException">Thrown when the object is present inside the collection</exception> 176 /// <exception cref="DoesNotContainException">Thrown when the object is present inside the collection</exception> 189 /// <exception cref="DoesNotContainException">Thrown when the object is present inside the collection</exception>
CollectionAsserts.cs (5)
423 /// <exception cref="DoesNotContainException">Thrown when the object is present inside the collection</exception> 456 /// <exception cref="DoesNotContainException">Thrown when the object is present inside the collection</exception> 475 throw DoesNotContainException.ForCollectionItemFound( 494 /// <exception cref="DoesNotContainException">Thrown when the object is present inside the collection</exception> 512 throw DoesNotContainException.ForCollectionFilterMatched(
DictionaryAsserts.cs (8)
152 /// <exception cref="DoesNotContainException">Thrown when the object is present in the collection</exception> 165 throw DoesNotContainException.ForKeyFound( 178 /// <exception cref="DoesNotContainException">Thrown when the object is present in the collection</exception> 191 throw DoesNotContainException.ForKeyFound( 204 /// <exception cref="DoesNotContainException">Thrown when the object is present in the collection</exception> 220 /// <exception cref="DoesNotContainException">Thrown when the object is present in the collection</exception> 236 /// <exception cref="DoesNotContainException">Thrown when the object is present in the collection</exception> 252 /// <exception cref="DoesNotContainException">Thrown when the object is present in the collection</exception>
MemoryAsserts.cs (5)
82 /// <exception cref="DoesNotContainException">Thrown when the sub-Memory is present inside the Memory</exception> 94 /// <exception cref="DoesNotContainException">Thrown when the sub-Memory is present inside the Memory</exception> 106 /// <exception cref="DoesNotContainException">Thrown when the sub-Memory is present inside the Memory</exception> 118 /// <exception cref="DoesNotContainException">Thrown when the sub-Memory is present inside the Memory</exception> 135 throw DoesNotContainException.ForSubMemoryFound(formattedExpected, idx, failurePointerIndent, formattedActual);
Sdk\Exceptions\DoesNotContainException.cs (14)
30 /// Creates a new instance of the <see cref="DoesNotContainException"/> class to be thrown 36 public static DoesNotContainException ForCollectionFilterMatched( 54 /// Creates a new instance of the <see cref="DoesNotContainException"/> class to be thrown 61 public static DoesNotContainException ForCollectionItemFound( 81 /// Creates a new instance of the <see cref="DoesNotContainException"/> class to be thrown 86 public static DoesNotContainException ForKeyFound( 101 /// Creates a new instance of the <see cref="DoesNotContainException"/> class to be thrown 106 public static DoesNotContainException ForSetItemFound( 121 /// Creates a new instance of the <see cref="DoesNotContainException"/> class to be thrown 128 public static DoesNotContainException ForSubMemoryFound( 148 /// Creates a new instance of the <see cref="DoesNotContainException"/> class to be thrown 155 public static DoesNotContainException ForSubSpanFound( 175 /// Creates a new instance of the <see cref="DoesNotContainException"/> class to be thrown 181 public static DoesNotContainException ForSubStringFound(
SetAsserts.cs (4)
118 /// <exception cref="DoesNotContainException">Thrown when the object is present inside the set</exception> 126 throw DoesNotContainException.ForSetItemFound( 140 /// <exception cref="DoesNotContainException">Thrown when the object is present inside the collection</exception> 148 throw DoesNotContainException.ForSetItemFound(
SpanAsserts.cs (5)
80 /// <exception cref="DoesNotContainException">Thrown when the sub-span is present inside the span</exception> 92 /// <exception cref="DoesNotContainException">Thrown when the sub-span is present inside the span</exception> 104 /// <exception cref="DoesNotContainException">Thrown when the sub-span is present inside the span</exception> 116 /// <exception cref="DoesNotContainException">Thrown when the sub-span is present inside the span</exception> 128 throw DoesNotContainException.ForSubSpanFound(
StringAsserts.cs (20)
266 /// <exception cref="DoesNotContainException">Thrown when the sub-string is present inside the string</exception> 282 /// <exception cref="DoesNotContainException">Thrown when the sub-string is present inside the string</exception> 298 throw DoesNotContainException.ForSubStringFound(expectedSubstring, idx, actualString); 307 /// <exception cref="DoesNotContainException">Thrown when the sub-string is present inside the string</exception> 318 /// <exception cref="DoesNotContainException">Thrown when the sub-string is present inside the string</exception> 329 /// <exception cref="DoesNotContainException">Thrown when the sub-string is present inside the string</exception> 340 /// <exception cref="DoesNotContainException">Thrown when the sub-string is present inside the string</exception> 352 /// <exception cref="DoesNotContainException">Thrown when the sub-string is present inside the string</exception> 365 /// <exception cref="DoesNotContainException">Thrown when the sub-string is present inside the string</exception> 378 /// <exception cref="DoesNotContainException">Thrown when the sub-string is present inside the string</exception> 391 /// <exception cref="DoesNotContainException">Thrown when the sub-string is present inside the string</exception> 408 /// <exception cref="DoesNotContainException">Thrown when the sub-string is present inside the string</exception> 421 /// <exception cref="DoesNotContainException">Thrown when the sub-string is present inside the string</exception> 434 /// <exception cref="DoesNotContainException">Thrown when the sub-string is present inside the string</exception> 447 /// <exception cref="DoesNotContainException">Thrown when the sub-string is present inside the string</exception> 455 throw DoesNotContainException.ForSubStringFound(expectedSubstring.ToString(), idx, actualString.ToString()); 463 /// <exception cref="DoesNotContainException">Thrown when the sub-string is present inside the string</exception> 474 /// <exception cref="DoesNotContainException">Thrown when the sub-string is present inside the string</exception> 485 /// <exception cref="DoesNotContainException">Thrown when the sub-string is present inside the string</exception> 496 /// <exception cref="DoesNotContainException">Thrown when the sub-string is present inside the string</exception>