7 instantiations of ContainsException
xunit.assert (7)
Sdk\Exceptions\ContainsException.cs (7)
35
new
ContainsException
(
53
new
ContainsException
(
73
new
ContainsException
(
93
new
ContainsException
(
113
new
ContainsException
(
133
new
ContainsException
(
157
new
ContainsException
(
107 references to ContainsException
Microsoft.DotNet.XUnitAssert.Tests (27)
Asserts\AsyncCollectionAssertsTests.cs (2)
312
Assert.IsType<
ContainsException
>(ex);
383
Assert.IsType<
ContainsException
>(ex);
Asserts\CollectionAssertsTests.cs (3)
351
Assert.IsType<
ContainsException
>(ex);
415
Assert.IsType<
ContainsException
>(ex);
456
Assert.IsType<
ContainsException
>(ex);
Asserts\DictionaryAssertsTests.cs (1)
38
Assert.IsType<
ContainsException
>(ex);
Asserts\MemoryAssertsTests.cs (8)
27
Assert.IsType<
ContainsException
>(ex);
41
Assert.IsType<
ContainsException
>(ex);
67
Assert.IsType<
ContainsException
>(ex);
81
Assert.IsType<
ContainsException
>(ex);
100
Assert.IsType<
ContainsException
>(ex);
141
Assert.IsType<
ContainsException
>(ex);
155
Assert.IsType<
ContainsException
>(ex);
169
Assert.IsType<
ContainsException
>(ex);
Asserts\SetAssertsTests.cs (1)
33
Assert.IsType<
ContainsException
>(ex);
Asserts\SpanAssertsTests.cs (8)
27
Assert.IsType<
ContainsException
>(ex);
41
Assert.IsType<
ContainsException
>(ex);
67
Assert.IsType<
ContainsException
>(ex);
81
Assert.IsType<
ContainsException
>(ex);
100
Assert.IsType<
ContainsException
>(ex);
141
Assert.IsType<
ContainsException
>(ex);
155
Assert.IsType<
ContainsException
>(ex);
169
Assert.IsType<
ContainsException
>(ex);
Asserts\StringAssertsTests.cs (4)
32
Assert.IsType<
ContainsException
>(ex);
59
Assert.IsType<
ContainsException
>(ex);
84
Assert.IsType<
ContainsException
>(ex);
103
Assert.IsType<
ContainsException
>(ex);
xunit.assert (80)
AsyncCollectionAsserts.cs (3)
104
/// <exception cref="
ContainsException
">Thrown when the object is not present in the collection</exception>
117
/// <exception cref="
ContainsException
">Thrown when the object is not present in the collection</exception>
130
/// <exception cref="
ContainsException
">Thrown when the object is not present in the collection</exception>
CollectionAsserts.cs (5)
313
/// <exception cref="
ContainsException
">Thrown when the object is not present in the collection</exception>
346
/// <exception cref="
ContainsException
">Thrown when the object is not present in the collection</exception>
357
throw
ContainsException
.ForCollectionItemNotFound(ArgumentFormatter.Format(expected), tracker.FormatStart());
366
/// <exception cref="
ContainsException
">Thrown when the object is not present in the collection</exception>
380
throw
ContainsException
.ForCollectionFilterNotMatched(tracker.FormatStart());
DictionaryAsserts.cs (8)
29
/// <exception cref="
ContainsException
">Thrown when the object is not present in the collection</exception>
41
throw
ContainsException
.ForKeyNotFound(
57
/// <exception cref="
ContainsException
">Thrown when the object is not present in the collection</exception>
69
throw
ContainsException
.ForKeyNotFound(
85
/// <exception cref="
ContainsException
">Thrown when the object is not present in the collection</exception>
102
/// <exception cref="
ContainsException
">Thrown when the object is not present in the collection</exception>
119
/// <exception cref="
ContainsException
">Thrown when the object is not present in the collection</exception>
136
/// <exception cref="
ContainsException
">Thrown when the object is not present in the collection</exception>
MemoryAsserts.cs (5)
26
/// <exception cref="
ContainsException
">Thrown when the sub-Memory is not present inside the Memory</exception>
38
/// <exception cref="
ContainsException
">Thrown when the sub-Memory is not present inside the Memory</exception>
50
/// <exception cref="
ContainsException
">Thrown when the sub-Memory is not present inside the Memory</exception>
62
/// <exception cref="
ContainsException
">Thrown when the sub-Memory is not present inside the Memory</exception>
71
throw
ContainsException
.ForSubMemoryNotFound(
Sdk\Exceptions\ContainsException.cs (14)
30
/// Creates a new instance of the <see cref="
ContainsException
"/> class to be thrown
34
public static
ContainsException
ForCollectionFilterNotMatched(string collection) =>
45
/// Creates a new instance of the <see cref="
ContainsException
"/> class to be thrown
50
public static
ContainsException
ForCollectionItemNotFound(
65
/// Creates a new instance of the <see cref="
ContainsException
"/> class to be thrown
70
public static
ContainsException
ForKeyNotFound(
85
/// Creates a new instance of the <see cref="
ContainsException
"/> class to be thrown
90
public static
ContainsException
ForSetItemNotFound(
105
/// Creates a new instance of the <see cref="
ContainsException
"/> class to be thrown
110
public static
ContainsException
ForSubMemoryNotFound(
125
/// Creates a new instance of the <see cref="
ContainsException
"/> class to be thrown
130
public static
ContainsException
ForSubSpanNotFound(
145
/// Creates a new instance of the <see cref="
ContainsException
"/> class to be thrown
150
public static
ContainsException
ForSubStringNotFound(
SetAsserts.cs (16)
24
/// <exception cref="
ContainsException
">Thrown when the object is not present in the set</exception>
33
throw
ContainsException
.ForSetItemNotFound(
47
/// <exception cref="
ContainsException
">Thrown when the object is not present in the set</exception>
56
throw
ContainsException
.ForSetItemNotFound(
70
/// <exception cref="
ContainsException
">Thrown when the object is not present in the set</exception>
82
/// <exception cref="
ContainsException
">Thrown when the object is not present in the set</exception>
94
/// <exception cref="
ContainsException
">Thrown when the object is not present in the set</exception>
106
/// <exception cref="
ContainsException
">Thrown when the object is not present in the set</exception>
162
/// <exception cref="
ContainsException
">Thrown when the object is not present in the set</exception>
174
/// <exception cref="
ContainsException
">Thrown when the object is not present in the set</exception>
186
/// <exception cref="
ContainsException
">Thrown when the object is not present in the set</exception>
198
/// <exception cref="
ContainsException
">Thrown when the object is not present in the set</exception>
210
/// <exception cref="
ContainsException
">Thrown when the actual set is not a proper subset of the expected set</exception>
234
/// <exception cref="
ContainsException
">Thrown when the actual set is not a proper superset of the expected set</exception>
258
/// <exception cref="
ContainsException
">Thrown when the actual set is not a subset of the expected set</exception>
282
/// <exception cref="
ContainsException
">Thrown when the actual set is not a superset of the expected set</exception>
SpanAsserts.cs (5)
26
/// <exception cref="
ContainsException
">Thrown when the sub-span is not present inside the span</exception>
38
/// <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>
62
/// <exception cref="
ContainsException
">Thrown when the sub-span is not present inside the span</exception>
69
throw
ContainsException
.ForSubSpanNotFound(
StringAsserts.cs (24)
27
/// <exception cref="
ContainsException
">Thrown when the sub-string is not present inside the string</exception>
43
/// <exception cref="
ContainsException
">Thrown when the sub-string is not present inside the string</exception>
56
throw
ContainsException
.ForSubStringNotFound(expectedSubstring, actualString);
64
/// <exception cref="
ContainsException
">Thrown when the sub-string is not present inside the string</exception>
75
/// <exception cref="
ContainsException
">Thrown when the sub-string is not present inside the string</exception>
86
/// <exception cref="
ContainsException
">Thrown when the sub-string is not present inside the string</exception>
97
/// <exception cref="
ContainsException
">Thrown when the sub-string is not present inside the string</exception>
109
/// <exception cref="
ContainsException
">Thrown when the sub-string is not present inside the string</exception>
122
/// <exception cref="
ContainsException
">Thrown when the sub-string is not present inside the string</exception>
135
/// <exception cref="
ContainsException
">Thrown when the sub-string is not present inside the string</exception>
148
/// <exception cref="
ContainsException
">Thrown when the sub-string is not present inside the string</exception>
165
/// <exception cref="
ContainsException
">Thrown when the string is not present inside the string</exception>
178
/// <exception cref="
ContainsException
">Thrown when the string is not present inside the string</exception>
191
/// <exception cref="
ContainsException
">Thrown when the string is not present inside the string</exception>
204
/// <exception cref="
ContainsException
">Thrown when the string is not present inside the string</exception>
211
throw
ContainsException
.ForSubStringNotFound(
222
/// <exception cref="
ContainsException
">Thrown when the string is not present inside the string</exception>
233
/// <exception cref="
ContainsException
">Thrown when the string is not present inside the string</exception>
244
/// <exception cref="
ContainsException
">Thrown when the string is not present inside the string</exception>
255
/// <exception cref="
ContainsException
">Thrown when the string is not present inside the string</exception>
580
/// <exception cref="
ContainsException
">Thrown when the string does not end with the expected sub-string</exception>
597
/// <exception cref="
ContainsException
">Thrown when the string does not end with the expected sub-string</exception>
1403
/// <exception cref="
ContainsException
">Thrown when the string does not start with the expected sub-string</exception>
1420
/// <exception cref="
ContainsException
">Thrown when the string does not start with the expected sub-string</exception>