7 instantiations of ContainsException
xunit.assert (7)
Sdk\Exceptions\ContainsException.cs (7)
31 new ContainsException( 49 new ContainsException( 69 new ContainsException( 89 new ContainsException( 109 new ContainsException( 129 new ContainsException( 153 new ContainsException(
107 references to ContainsException
Microsoft.DotNet.XUnitAssert.Tests (27)
AsyncCollectionAssertsTests.cs (2)
309 Assert.IsType<ContainsException>(ex); 378 Assert.IsType<ContainsException>(ex);
CollectionAssertsTests.cs (3)
309 Assert.IsType<ContainsException>(ex); 371 Assert.IsType<ContainsException>(ex); 412 Assert.IsType<ContainsException>(ex);
DictionaryAssertsTests.cs (1)
45 Assert.IsType<ContainsException>(ex);
MemoryAssertsTests.cs (8)
32 Assert.IsType<ContainsException>(ex); 46 Assert.IsType<ContainsException>(ex); 72 Assert.IsType<ContainsException>(ex); 86 Assert.IsType<ContainsException>(ex); 105 Assert.IsType<ContainsException>(ex); 146 Assert.IsType<ContainsException>(ex); 160 Assert.IsType<ContainsException>(ex); 174 Assert.IsType<ContainsException>(ex);
SetAssertsTests.cs (1)
40 Assert.IsType<ContainsException>(ex);
SpanAssertsTests.cs (8)
32 Assert.IsType<ContainsException>(ex); 46 Assert.IsType<ContainsException>(ex); 72 Assert.IsType<ContainsException>(ex); 86 Assert.IsType<ContainsException>(ex); 105 Assert.IsType<ContainsException>(ex); 146 Assert.IsType<ContainsException>(ex); 160 Assert.IsType<ContainsException>(ex); 174 Assert.IsType<ContainsException>(ex);
StringAssertsTests.cs (4)
33 Assert.IsType<ContainsException>(ex); 62 Assert.IsType<ContainsException>(ex); 89 Assert.IsType<ContainsException>(ex); 108 Assert.IsType<ContainsException>(ex);
xunit.assert (80)
AsyncCollectionAsserts.cs (3)
107 /// <exception cref="ContainsException">Thrown when the object is not present in the collection</exception> 120 /// <exception cref="ContainsException">Thrown when the object is not present in the collection</exception> 133 /// <exception cref="ContainsException">Thrown when the object is not present in the collection</exception>
CollectionAsserts.cs (5)
223 /// <exception cref="ContainsException">Thrown when the object is not present in the collection</exception> 258 /// <exception cref="ContainsException">Thrown when the object is not present in the collection</exception> 269 throw ContainsException.ForCollectionItemNotFound(ArgumentFormatter.Format(expected), tracker.FormatStart()); 278 /// <exception cref="ContainsException">Thrown when the object is not present in the collection</exception> 292 throw ContainsException.ForCollectionFilterNotMatched(tracker.FormatStart());
DictionaryAsserts.cs (8)
36 /// <exception cref="ContainsException">Thrown when the object is not present in the collection</exception> 54 throw ContainsException.ForKeyNotFound( 70 /// <exception cref="ContainsException">Thrown when the object is not present in the collection</exception> 88 throw ContainsException.ForKeyNotFound( 104 /// <exception cref="ContainsException">Thrown when the object is not present in the collection</exception> 128 /// <exception cref="ContainsException">Thrown when the object is not present in the collection</exception> 152 /// <exception cref="ContainsException">Thrown when the object is not present in the collection</exception> 177 /// <exception cref="ContainsException">Thrown when the object is not present in the collection</exception>
MemoryAsserts.cs (5)
32 /// <exception cref="ContainsException">Thrown when the sub-Memory is not present inside the Memory</exception> 49 /// <exception cref="ContainsException">Thrown when the sub-Memory is not present inside the Memory</exception> 66 /// <exception cref="ContainsException">Thrown when the sub-Memory is not present inside the Memory</exception> 83 /// <exception cref="ContainsException">Thrown when the sub-Memory is not present inside the Memory</exception> 97 throw ContainsException.ForSubMemoryNotFound(
Sdk\Exceptions\ContainsException.cs (14)
26 /// Creates a new instance of the <see cref="ContainsException"/> class to be thrown 30 public static ContainsException ForCollectionFilterNotMatched(string collection) => 41 /// Creates a new instance of the <see cref="ContainsException"/> class to be thrown 46 public static ContainsException ForCollectionItemNotFound( 61 /// Creates a new instance of the <see cref="ContainsException"/> class to be thrown 66 public static ContainsException ForKeyNotFound( 81 /// Creates a new instance of the <see cref="ContainsException"/> class to be thrown 86 public static ContainsException ForSetItemNotFound( 101 /// Creates a new instance of the <see cref="ContainsException"/> class to be thrown 106 public static ContainsException ForSubMemoryNotFound( 121 /// Creates a new instance of the <see cref="ContainsException"/> class to be thrown 126 public static ContainsException ForSubSpanNotFound( 141 /// Creates a new instance of the <see cref="ContainsException"/> class to be thrown 146 public static ContainsException ForSubStringNotFound(
SetAsserts.cs (16)
31 /// <exception cref="ContainsException">Thrown when the object is not present in the set</exception> 40 throw ContainsException.ForSetItemNotFound( 53 /// <exception cref="ContainsException">Thrown when the object is not present in the set</exception> 67 throw ContainsException.ForSetItemNotFound( 80 /// <exception cref="ContainsException">Thrown when the object is not present in the set</exception> 92 /// <exception cref="ContainsException">Thrown when the object is not present in the set</exception> 105 /// <exception cref="ContainsException">Thrown when the object is not present in the set</exception> 117 /// <exception cref="ContainsException">Thrown when the object is not present in the set</exception> 177 /// <exception cref="ContainsException">Thrown when the object is not present in the set</exception> 194 /// <exception cref="ContainsException">Thrown when the object is not present in the set</exception> 207 /// <exception cref="ContainsException">Thrown when the object is not present in the set</exception> 224 /// <exception cref="ContainsException">Thrown when the object is not present in the set</exception> 237 /// <exception cref="ContainsException">Thrown when the actual set is not a proper subset of the expected set</exception> 266 /// <exception cref="ContainsException">Thrown when the actual set is not a proper superset of the expected set</exception> 295 /// <exception cref="ContainsException">Thrown when the actual set is not a subset of the expected set</exception> 319 /// <exception cref="ContainsException">Thrown when the actual set is not a superset of the expected set</exception>
SpanAsserts.cs (5)
33 /// <exception cref="ContainsException">Thrown when the sub-span is not present inside the span</exception> 50 /// <exception cref="ContainsException">Thrown when the sub-span is not present inside the span</exception> 67 /// <exception cref="ContainsException">Thrown when the sub-span is not present inside the span</exception> 84 /// <exception cref="ContainsException">Thrown when the sub-span is not present inside the span</exception> 96 throw ContainsException.ForSubSpanNotFound(
StringAsserts.cs (24)
29 /// <exception cref="ContainsException">Thrown when the sub-string is not present inside the string</exception> 45 /// <exception cref="ContainsException">Thrown when the sub-string is not present inside the string</exception> 58 throw ContainsException.ForSubStringNotFound(expectedSubstring, actualString); 68 /// <exception cref="ContainsException">Thrown when the sub-string is not present inside the string</exception> 79 /// <exception cref="ContainsException">Thrown when the sub-string is not present inside the string</exception> 90 /// <exception cref="ContainsException">Thrown when the sub-string is not present inside the string</exception> 101 /// <exception cref="ContainsException">Thrown when the sub-string is not present inside the string</exception> 113 /// <exception cref="ContainsException">Thrown when the sub-string is not present inside the string</exception> 126 /// <exception cref="ContainsException">Thrown when the sub-string is not present inside the string</exception> 139 /// <exception cref="ContainsException">Thrown when the sub-string is not present inside the string</exception> 152 /// <exception cref="ContainsException">Thrown when the sub-string is not present inside the string</exception> 169 /// <exception cref="ContainsException">Thrown when the string is not present inside the string</exception> 182 /// <exception cref="ContainsException">Thrown when the string is not present inside the string</exception> 195 /// <exception cref="ContainsException">Thrown when the string is not present inside the string</exception> 208 /// <exception cref="ContainsException">Thrown when the string is not present inside the string</exception> 215 throw ContainsException.ForSubStringNotFound( 226 /// <exception cref="ContainsException">Thrown when the string is not present inside the string</exception> 237 /// <exception cref="ContainsException">Thrown when the string is not present inside the string</exception> 248 /// <exception cref="ContainsException">Thrown when the string is not present inside the string</exception> 259 /// <exception cref="ContainsException">Thrown when the string is not present inside the string</exception> 592 /// <exception cref="ContainsException">Thrown when the string does not end with the expected sub-string</exception> 609 /// <exception cref="ContainsException">Thrown when the string does not end with the expected sub-string</exception> 1385 /// <exception cref="ContainsException">Thrown when the string does not start with the expected sub-string</exception> 1402 /// <exception cref="ContainsException">Thrown when the string does not start with the expected sub-string</exception>