7 instantiations of ContainsException
xunit.assert (7)
Sdk\Exceptions\ContainsException.cs (7)
37
new
ContainsException
(
55
new
ContainsException
(
75
new
ContainsException
(
95
new
ContainsException
(
115
new
ContainsException
(
135
new
ContainsException
(
159
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)
111
/// <exception cref="
ContainsException
">Thrown when the object is not present in the collection</exception>
124
/// <exception cref="
ContainsException
">Thrown when the object is not present in the collection</exception>
137
/// <exception cref="
ContainsException
">Thrown when the object is not present in the collection</exception>
CollectionAsserts.cs (5)
236
/// <exception cref="
ContainsException
">Thrown when the object is not present in the collection</exception>
271
/// <exception cref="
ContainsException
">Thrown when the object is not present in the collection</exception>
282
throw
ContainsException
.ForCollectionItemNotFound(ArgumentFormatter.Format(expected), tracker.FormatStart());
291
/// <exception cref="
ContainsException
">Thrown when the object is not present in the collection</exception>
305
throw
ContainsException
.ForCollectionFilterNotMatched(tracker.FormatStart());
DictionaryAsserts.cs (8)
43
/// <exception cref="
ContainsException
">Thrown when the object is not present in the collection</exception>
61
throw
ContainsException
.ForKeyNotFound(
77
/// <exception cref="
ContainsException
">Thrown when the object is not present in the collection</exception>
95
throw
ContainsException
.ForKeyNotFound(
111
/// <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>
155
/// <exception cref="
ContainsException
">Thrown when the object is not present in the collection</exception>
178
/// <exception cref="
ContainsException
">Thrown when the object is not present in the collection</exception>
MemoryAsserts.cs (5)
37
/// <exception cref="
ContainsException
">Thrown when the sub-Memory is not present inside the Memory</exception>
54
/// <exception cref="
ContainsException
">Thrown when the sub-Memory is not present inside the Memory</exception>
71
/// <exception cref="
ContainsException
">Thrown when the sub-Memory is not present inside the Memory</exception>
88
/// <exception cref="
ContainsException
">Thrown when the sub-Memory is not present inside the Memory</exception>
102
throw
ContainsException
.ForSubMemoryNotFound(
Sdk\Exceptions\ContainsException.cs (14)
32
/// Creates a new instance of the <see cref="
ContainsException
"/> class to be thrown
36
public static
ContainsException
ForCollectionFilterNotMatched(string collection) =>
47
/// Creates a new instance of the <see cref="
ContainsException
"/> class to be thrown
52
public static
ContainsException
ForCollectionItemNotFound(
67
/// Creates a new instance of the <see cref="
ContainsException
"/> class to be thrown
72
public static
ContainsException
ForKeyNotFound(
87
/// Creates a new instance of the <see cref="
ContainsException
"/> class to be thrown
92
public static
ContainsException
ForSetItemNotFound(
107
/// Creates a new instance of the <see cref="
ContainsException
"/> class to be thrown
112
public static
ContainsException
ForSubMemoryNotFound(
127
/// Creates a new instance of the <see cref="
ContainsException
"/> class to be thrown
132
public static
ContainsException
ForSubSpanNotFound(
147
/// Creates a new instance of the <see cref="
ContainsException
"/> class to be thrown
152
public static
ContainsException
ForSubStringNotFound(
SetAsserts.cs (16)
35
/// <exception cref="
ContainsException
">Thrown when the object is not present in the set</exception>
44
throw
ContainsException
.ForSetItemNotFound(
57
/// <exception cref="
ContainsException
">Thrown when the object is not present in the set</exception>
71
throw
ContainsException
.ForSetItemNotFound(
84
/// <exception cref="
ContainsException
">Thrown when the object is not present in the set</exception>
96
/// <exception cref="
ContainsException
">Thrown when the object is not present in the set</exception>
109
/// <exception cref="
ContainsException
">Thrown when the object is not present in the set</exception>
121
/// <exception cref="
ContainsException
">Thrown when the object is not present in the set</exception>
181
/// <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>
211
/// <exception cref="
ContainsException
">Thrown when the object is not present in the set</exception>
228
/// <exception cref="
ContainsException
">Thrown when the object is not present in the set</exception>
241
/// <exception cref="
ContainsException
">Thrown when the actual set is not a proper subset of the expected set</exception>
270
/// <exception cref="
ContainsException
">Thrown when the actual set is not a proper superset of the expected set</exception>
299
/// <exception cref="
ContainsException
">Thrown when the actual set is not a subset of the expected set</exception>
323
/// <exception cref="
ContainsException
">Thrown when the actual set is not a superset of the expected set</exception>
SpanAsserts.cs (5)
37
/// <exception cref="
ContainsException
">Thrown when the sub-span is not present inside the span</exception>
54
/// <exception cref="
ContainsException
">Thrown when the sub-span is not present inside the span</exception>
71
/// <exception cref="
ContainsException
">Thrown when the sub-span is not present inside the span</exception>
88
/// <exception cref="
ContainsException
">Thrown when the sub-span is not present inside the span</exception>
100
throw
ContainsException
.ForSubSpanNotFound(
StringAsserts.cs (24)
37
/// <exception cref="
ContainsException
">Thrown when the sub-string is not present inside the string</exception>
53
/// <exception cref="
ContainsException
">Thrown when the sub-string is not present inside the string</exception>
66
throw
ContainsException
.ForSubStringNotFound(expectedSubstring, actualString);
76
/// <exception cref="
ContainsException
">Thrown when the sub-string is not present inside the string</exception>
87
/// <exception cref="
ContainsException
">Thrown when the sub-string is not present inside the string</exception>
98
/// <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>
121
/// <exception cref="
ContainsException
">Thrown when the sub-string is not present inside the string</exception>
134
/// <exception cref="
ContainsException
">Thrown when the sub-string is not present inside the string</exception>
147
/// <exception cref="
ContainsException
">Thrown when the sub-string is not present inside the string</exception>
160
/// <exception cref="
ContainsException
">Thrown when the sub-string is not present inside the string</exception>
177
/// <exception cref="
ContainsException
">Thrown when the string is not present inside the string</exception>
190
/// <exception cref="
ContainsException
">Thrown when the string is not present inside the string</exception>
203
/// <exception cref="
ContainsException
">Thrown when the string is not present inside the string</exception>
216
/// <exception cref="
ContainsException
">Thrown when the string is not present inside the string</exception>
223
throw
ContainsException
.ForSubStringNotFound(
234
/// <exception cref="
ContainsException
">Thrown when the string is not present inside the string</exception>
245
/// <exception cref="
ContainsException
">Thrown when the string is not present inside the string</exception>
256
/// <exception cref="
ContainsException
">Thrown when the string is not present inside the string</exception>
267
/// <exception cref="
ContainsException
">Thrown when the string is not present inside the string</exception>
600
/// <exception cref="
ContainsException
">Thrown when the string does not end with the expected sub-string</exception>
617
/// <exception cref="
ContainsException
">Thrown when the string does not end with the expected sub-string</exception>
1393
/// <exception cref="
ContainsException
">Thrown when the string does not start with the expected sub-string</exception>
1410
/// <exception cref="
ContainsException
">Thrown when the string does not start with the expected sub-string</exception>