CollectionAsserts.cs (31)
39 GuardArgumentNotNull(nameof(collection), collection);
40 GuardArgumentNotNull(nameof(action), action);
57 GuardArgumentNotNull(nameof(collection), collection);
58 GuardArgumentNotNull(nameof(action), action);
93 GuardArgumentNotNull(nameof(collection), collection);
94 GuardArgumentNotNull(nameof(action), action);
111 GuardArgumentNotNull(nameof(collection), collection);
112 GuardArgumentNotNull(nameof(action), action);
147 GuardArgumentNotNull(nameof(collection), collection);
148 GuardArgumentNotNull(nameof(elementInspectors), elementInspectors);
188 GuardArgumentNotNull(nameof(collection), collection);
189 GuardArgumentNotNull(nameof(elementInspectors), elementInspectors);
228 GuardArgumentNotNull(nameof(collection), collection);
264 GuardArgumentNotNull(nameof(collection), collection);
265 GuardArgumentNotNull(nameof(comparer), comparer);
283 GuardArgumentNotNull(nameof(collection), collection);
284 GuardArgumentNotNull(nameof(filter), filter);
316 GuardArgumentNotNull(nameof(collection), collection);
317 GuardArgumentNotNull(nameof(comparer), comparer);
340 GuardArgumentNotNull(nameof(collection), collection);
376 GuardArgumentNotNull(nameof(collection), collection);
377 GuardArgumentNotNull(nameof(comparer), comparer);
414 GuardArgumentNotNull(nameof(collection), collection);
415 GuardArgumentNotNull(nameof(filter), filter);
448 GuardArgumentNotNull(nameof(collection), collection);
526 GuardArgumentNotNull(nameof(collection), collection);
614 GuardArgumentNotNull(nameof(collection), collection);
637 GuardArgumentNotNull(nameof(collection), collection);
653 GuardArgumentNotNull(nameof(collection), collection);
674 GuardArgumentNotNull(nameof(collection), collection);
675 GuardArgumentNotNull(nameof(predicate), predicate);
EventAsserts.cs (22)
325 GuardArgumentNotNull(nameof(attach), attach);
326 GuardArgumentNotNull(nameof(detach), detach);
327 GuardArgumentNotNull(nameof(testCode), testCode);
347 GuardArgumentNotNull(nameof(attach), attach);
348 GuardArgumentNotNull(nameof(detach), detach);
349 GuardArgumentNotNull(nameof(testCode), testCode);
415 GuardArgumentNotNull(nameof(handler), handler);
416 GuardArgumentNotNull(nameof(attach), attach);
417 GuardArgumentNotNull(nameof(detach), detach);
418 GuardArgumentNotNull(nameof(testCode), testCode);
431 GuardArgumentNotNull(nameof(attach), attach);
432 GuardArgumentNotNull(nameof(detach), detach);
433 GuardArgumentNotNull(nameof(testCode), testCode);
453 GuardArgumentNotNull(nameof(attach), attach);
454 GuardArgumentNotNull(nameof(detach), detach);
455 GuardArgumentNotNull(nameof(testCode), testCode);
478 GuardArgumentNotNull(nameof(attach), attach);
479 GuardArgumentNotNull(nameof(detach), detach);
480 GuardArgumentNotNull(nameof(testCode), testCode);
500 GuardArgumentNotNull(nameof(attach), attach);
501 GuardArgumentNotNull(nameof(detach), detach);
502 GuardArgumentNotNull(nameof(testCode), testCode);
Sdk\Exceptions\ContainsException.cs (12)
36 Assert.GuardArgumentNotNull(nameof(collection), collection)
54 Assert.GuardArgumentNotNull(nameof(collection), collection),
56 Assert.GuardArgumentNotNull(nameof(item), item)
74 Assert.GuardArgumentNotNull(nameof(keys), keys),
76 Assert.GuardArgumentNotNull(nameof(expectedKey), expectedKey)
94 Assert.GuardArgumentNotNull(nameof(set), set),
96 Assert.GuardArgumentNotNull(nameof(item), item)
114 Assert.GuardArgumentNotNull(nameof(memory), memory),
116 Assert.GuardArgumentNotNull(nameof(expectedSubMemory), expectedSubMemory)
134 Assert.GuardArgumentNotNull(nameof(span), span),
136 Assert.GuardArgumentNotNull(nameof(expectedSubSpan), expectedSubSpan)
160 AssertHelper.ShortenAndEncodeString(Assert.GuardArgumentNotNull(nameof(expectedSubString), expectedSubString))
Sdk\Exceptions\DoesNotContainException.cs (13)
37 Assert.GuardArgumentNotNull(nameof(collection), collection);
63 Assert.GuardArgumentNotNull(nameof(item), item);
64 Assert.GuardArgumentNotNull(nameof(collection), collection);
90 Assert.GuardArgumentNotNull(nameof(keys), keys),
92 Assert.GuardArgumentNotNull(nameof(expectedKey), expectedKey)
110 Assert.GuardArgumentNotNull(nameof(set), set),
112 Assert.GuardArgumentNotNull(nameof(item), item)
130 Assert.GuardArgumentNotNull(nameof(expectedSubMemory), expectedSubMemory);
131 Assert.GuardArgumentNotNull(nameof(memory), memory);
157 Assert.GuardArgumentNotNull(nameof(expectedSubSpan), expectedSubSpan);
158 Assert.GuardArgumentNotNull(nameof(span), span);
182 Assert.GuardArgumentNotNull(nameof(expectedSubString), expectedSubString);
183 Assert.GuardArgumentNotNull(nameof(@string), @string);
Sdk\Exceptions\EquivalentException.cs (13)
54 Assert.GuardArgumentNotNull(nameof(memberName), memberName)
72 Assert.GuardArgumentNotNull(nameof(memberName), memberName)
93 FormatMemberNameList(Assert.GuardArgumentNotNull(nameof(expectedMemberNames), expectedMemberNames), prefix),
95 FormatMemberNameList(Assert.GuardArgumentNotNull(nameof(actualMemberNames), actualMemberNames), prefix)
127 Assert.GuardArgumentNotNull(nameof(memberName), memberName).Length == 0 ? string.Empty : string.Format(CultureInfo.CurrentCulture, ": Mismatched value on member '{0}'", memberName),
157 Assert.GuardArgumentNotNull(nameof(memberName), memberName).Length == 0 ? string.Empty : string.Format(CultureInfo.CurrentCulture, " in member '{0}'", memberName),
192 Assert.GuardArgumentNotNull(nameof(memberName), memberName).Length == 0 ? string.Empty : string.Format(CultureInfo.CurrentCulture, " in member '{0}'", memberName),
194 ArgumentFormatter.Format(Assert.GuardArgumentNotNull(nameof(expected), expected)),
196 ArgumentFormatter.Format(Assert.GuardArgumentNotNull(nameof(actualLeftovers), actualLeftovers)),
197 ArgumentFormatter.Format(Assert.GuardArgumentNotNull(nameof(actual), actual))
220 Assert.GuardArgumentNotNull(nameof(memberName), memberName).Length == 0 ? string.Empty : string.Format(CultureInfo.CurrentCulture, " in member '{0}'", memberName),
222 ArgumentFormatter.FormatTypeName(Assert.GuardArgumentNotNull(nameof(expectedType), expectedType), fullTypeName: true),
224 ArgumentFormatter.FormatTypeName(Assert.GuardArgumentNotNull(nameof(actualType), actualType), fullTypeName: true)
StringAsserts.cs (12)
55 GuardArgumentNotNull(nameof(expectedSubstring), expectedSubstring);
158 GuardArgumentNotNull(nameof(expectedSubstring), expectedSubstring);
298 GuardArgumentNotNull(nameof(expectedSubstring), expectedSubstring);
405 GuardArgumentNotNull(nameof(expectedSubstring), expectedSubstring);
527 GuardArgumentNotNull(nameof(expectedRegexPattern), expectedRegexPattern);
557 GuardArgumentNotNull(nameof(expectedRegex), expectedRegex);
581 GuardArgumentNotNull(nameof(value), value);
721 GuardArgumentNotNull(nameof(expectedEndString), expectedEndString);
1081 GuardArgumentNotNull(nameof(expected), expected);
1354 GuardArgumentNotNull(nameof(expectedRegexPattern), expectedRegexPattern);
1374 GuardArgumentNotNull(nameof(expectedRegex), expectedRegex);
1514 GuardArgumentNotNull(nameof(expectedStartString), expectedStartString);