CollectionAsserts.cs (39)
41 GuardArgumentNotNull(nameof(collection), collection);
42 GuardArgumentNotNull(nameof(action), action);
62 GuardArgumentNotNull(nameof(collection), collection);
63 GuardArgumentNotNull(nameof(action), action);
80 GuardArgumentNotNull(nameof(collection), collection);
81 GuardArgumentNotNull(nameof(action), action);
101 GuardArgumentNotNull(nameof(collection), collection);
102 GuardArgumentNotNull(nameof(action), action);
140 GuardArgumentNotNull(nameof(collection), collection);
141 GuardArgumentNotNull(nameof(action), action);
161 GuardArgumentNotNull(nameof(collection), collection);
162 GuardArgumentNotNull(nameof(action), action);
179 GuardArgumentNotNull(nameof(collection), collection);
180 GuardArgumentNotNull(nameof(action), action);
200 GuardArgumentNotNull(nameof(collection), collection);
201 GuardArgumentNotNull(nameof(action), action);
239 GuardArgumentNotNull(nameof(collection), collection);
240 GuardArgumentNotNull(nameof(elementInspectors), elementInspectors);
279 GuardArgumentNotNull(nameof(collection), collection);
280 GuardArgumentNotNull(nameof(elementInspectors), elementInspectors);
318 GuardArgumentNotNull(nameof(collection), collection);
352 GuardArgumentNotNull(nameof(collection), collection);
353 GuardArgumentNotNull(nameof(comparer), comparer);
371 GuardArgumentNotNull(nameof(collection), collection);
372 GuardArgumentNotNull(nameof(filter), filter);
404 GuardArgumentNotNull(nameof(collection), collection);
405 GuardArgumentNotNull(nameof(comparer), comparer);
428 GuardArgumentNotNull(nameof(collection), collection);
462 GuardArgumentNotNull(nameof(collection), collection);
463 GuardArgumentNotNull(nameof(comparer), comparer);
499 GuardArgumentNotNull(nameof(collection), collection);
500 GuardArgumentNotNull(nameof(filter), filter);
532 GuardArgumentNotNull(nameof(collection), collection);
605 GuardArgumentNotNull(nameof(collection), collection);
688 GuardArgumentNotNull(nameof(collection), collection);
711 GuardArgumentNotNull(nameof(collection), collection);
727 GuardArgumentNotNull(nameof(collection), collection);
748 GuardArgumentNotNull(nameof(collection), collection);
749 GuardArgumentNotNull(nameof(predicate), predicate);
EventAsserts.cs (40)
268 GuardArgumentNotNull(nameof(attach), attach);
269 GuardArgumentNotNull(nameof(detach), detach);
270 GuardArgumentNotNull(nameof(testCode), testCode);
290 GuardArgumentNotNull(nameof(attach), attach);
291 GuardArgumentNotNull(nameof(detach), detach);
292 GuardArgumentNotNull(nameof(testCode), testCode);
362 GuardArgumentNotNull(nameof(handler), handler);
363 GuardArgumentNotNull(nameof(attach), attach);
364 GuardArgumentNotNull(nameof(detach), detach);
365 GuardArgumentNotNull(nameof(testCode), testCode);
378 GuardArgumentNotNull(nameof(attach), attach);
379 GuardArgumentNotNull(nameof(detach), detach);
380 GuardArgumentNotNull(nameof(testCode), testCode);
400 GuardArgumentNotNull(nameof(attach), attach);
401 GuardArgumentNotNull(nameof(detach), detach);
402 GuardArgumentNotNull(nameof(testCode), testCode);
427 GuardArgumentNotNull(nameof(attach), attach);
428 GuardArgumentNotNull(nameof(detach), detach);
429 GuardArgumentNotNull(nameof(testCode), testCode);
449 GuardArgumentNotNull(nameof(attach), attach);
450 GuardArgumentNotNull(nameof(detach), detach);
451 GuardArgumentNotNull(nameof(testCode), testCode);
479 GuardArgumentNotNull(nameof(attach), attach);
480 GuardArgumentNotNull(nameof(detach), detach);
481 GuardArgumentNotNull(nameof(testCode), testCode);
500 GuardArgumentNotNull(nameof(attach), attach);
501 GuardArgumentNotNull(nameof(detach), detach);
502 GuardArgumentNotNull(nameof(testCode), testCode);
521 GuardArgumentNotNull(nameof(attach), attach);
522 GuardArgumentNotNull(nameof(detach), detach);
523 GuardArgumentNotNull(nameof(testCode), testCode);
541 GuardArgumentNotNull(nameof(attach), attach);
542 GuardArgumentNotNull(nameof(detach), detach);
543 GuardArgumentNotNull(nameof(testCode), testCode);
562 GuardArgumentNotNull(nameof(attach), attach);
563 GuardArgumentNotNull(nameof(detach), detach);
564 GuardArgumentNotNull(nameof(testCode), testCode);
582 GuardArgumentNotNull(nameof(attach), attach);
583 GuardArgumentNotNull(nameof(detach), detach);
584 GuardArgumentNotNull(nameof(testCode), testCode);
Sdk\Exceptions\ContainsException.cs (12)
40 Assert.GuardArgumentNotNull(nameof(collection), collection)
58 Assert.GuardArgumentNotNull(nameof(collection), collection),
60 Assert.GuardArgumentNotNull(nameof(item), item)
78 Assert.GuardArgumentNotNull(nameof(keys), keys),
80 Assert.GuardArgumentNotNull(nameof(expectedKey), expectedKey)
98 Assert.GuardArgumentNotNull(nameof(set), set),
100 Assert.GuardArgumentNotNull(nameof(item), item)
118 Assert.GuardArgumentNotNull(nameof(memory), memory),
120 Assert.GuardArgumentNotNull(nameof(expectedSubMemory), expectedSubMemory)
138 Assert.GuardArgumentNotNull(nameof(span), span),
140 Assert.GuardArgumentNotNull(nameof(expectedSubSpan), expectedSubSpan)
164 AssertHelper.ShortenAndEncodeString(Assert.GuardArgumentNotNull(nameof(expectedSubString), expectedSubString))
Sdk\Exceptions\DoesNotContainException.cs (13)
41 Assert.GuardArgumentNotNull(nameof(collection), collection);
67 Assert.GuardArgumentNotNull(nameof(item), item);
68 Assert.GuardArgumentNotNull(nameof(collection), collection);
94 Assert.GuardArgumentNotNull(nameof(keys), keys),
96 Assert.GuardArgumentNotNull(nameof(expectedKey), expectedKey)
114 Assert.GuardArgumentNotNull(nameof(set), set),
116 Assert.GuardArgumentNotNull(nameof(item), item)
134 Assert.GuardArgumentNotNull(nameof(expectedSubMemory), expectedSubMemory);
135 Assert.GuardArgumentNotNull(nameof(memory), memory);
161 Assert.GuardArgumentNotNull(nameof(expectedSubSpan), expectedSubSpan);
162 Assert.GuardArgumentNotNull(nameof(span), span);
186 Assert.GuardArgumentNotNull(nameof(expectedSubString), expectedSubString);
187 Assert.GuardArgumentNotNull(nameof(@string), @string);
Sdk\Exceptions\EquivalentException.cs (13)
58 Assert.GuardArgumentNotNull(nameof(memberName), memberName)
76 Assert.GuardArgumentNotNull(nameof(memberName), memberName)
125 FormatMemberNameList(Assert.GuardArgumentNotNull(nameof(expectedMemberNames), expectedMemberNames), prefix),
127 FormatMemberNameList(Assert.GuardArgumentNotNull(nameof(actualMemberNames), actualMemberNames), prefix)
159 Assert.GuardArgumentNotNull(nameof(memberName), memberName).Length == 0 ? string.Empty : string.Format(CultureInfo.CurrentCulture, ": Mismatched value on member '{0}'", memberName),
189 Assert.GuardArgumentNotNull(nameof(memberName), memberName).Length == 0 ? string.Empty : string.Format(CultureInfo.CurrentCulture, " in member '{0}'", memberName),
224 Assert.GuardArgumentNotNull(nameof(memberName), memberName).Length == 0 ? string.Empty : string.Format(CultureInfo.CurrentCulture, " in member '{0}'", memberName),
226 ArgumentFormatter.Format(Assert.GuardArgumentNotNull(nameof(expected), expected)),
228 ArgumentFormatter.Format(Assert.GuardArgumentNotNull(nameof(actualLeftovers), actualLeftovers)),
229 ArgumentFormatter.Format(Assert.GuardArgumentNotNull(nameof(actual), actual))
252 Assert.GuardArgumentNotNull(nameof(memberName), memberName).Length == 0 ? string.Empty : string.Format(CultureInfo.CurrentCulture, " in member '{0}'", memberName),
254 ArgumentFormatter.FormatTypeName(Assert.GuardArgumentNotNull(nameof(expectedType), expectedType), fullTypeName: true),
256 ArgumentFormatter.FormatTypeName(Assert.GuardArgumentNotNull(nameof(actualType), actualType), fullTypeName: true)
StringAsserts.cs (12)
53 GuardArgumentNotNull(nameof(expectedSubstring), expectedSubstring);
154 GuardArgumentNotNull(nameof(expectedSubstring), expectedSubstring);
292 GuardArgumentNotNull(nameof(expectedSubstring), expectedSubstring);
397 GuardArgumentNotNull(nameof(expectedSubstring), expectedSubstring);
517 GuardArgumentNotNull(nameof(expectedRegexPattern), expectedRegexPattern);
546 GuardArgumentNotNull(nameof(expectedRegex), expectedRegex);
569 GuardArgumentNotNull(nameof(value), value);
707 GuardArgumentNotNull(nameof(expectedEndString), expectedEndString);
1105 GuardArgumentNotNull(nameof(expected), expected);
1372 GuardArgumentNotNull(nameof(expectedRegexPattern), expectedRegexPattern);
1392 GuardArgumentNotNull(nameof(expectedRegex), expectedRegex);
1530 GuardArgumentNotNull(nameof(expectedStartString), expectedStartString);