CollectionAsserts.cs (31)
52 GuardArgumentNotNull(nameof(collection), collection);
53 GuardArgumentNotNull(nameof(action), action);
70 GuardArgumentNotNull(nameof(collection), collection);
71 GuardArgumentNotNull(nameof(action), action);
106 GuardArgumentNotNull(nameof(collection), collection);
107 GuardArgumentNotNull(nameof(action), action);
124 GuardArgumentNotNull(nameof(collection), collection);
125 GuardArgumentNotNull(nameof(action), action);
160 GuardArgumentNotNull(nameof(collection), collection);
161 GuardArgumentNotNull(nameof(elementInspectors), elementInspectors);
201 GuardArgumentNotNull(nameof(collection), collection);
202 GuardArgumentNotNull(nameof(elementInspectors), elementInspectors);
241 GuardArgumentNotNull(nameof(collection), collection);
277 GuardArgumentNotNull(nameof(collection), collection);
278 GuardArgumentNotNull(nameof(comparer), comparer);
296 GuardArgumentNotNull(nameof(collection), collection);
297 GuardArgumentNotNull(nameof(filter), filter);
329 GuardArgumentNotNull(nameof(collection), collection);
330 GuardArgumentNotNull(nameof(comparer), comparer);
353 GuardArgumentNotNull(nameof(collection), collection);
389 GuardArgumentNotNull(nameof(collection), collection);
390 GuardArgumentNotNull(nameof(comparer), comparer);
427 GuardArgumentNotNull(nameof(collection), collection);
428 GuardArgumentNotNull(nameof(filter), filter);
461 GuardArgumentNotNull(nameof(collection), collection);
539 GuardArgumentNotNull(nameof(collection), collection);
627 GuardArgumentNotNull(nameof(collection), collection);
650 GuardArgumentNotNull(nameof(collection), collection);
666 GuardArgumentNotNull(nameof(collection), collection);
687 GuardArgumentNotNull(nameof(collection), collection);
688 GuardArgumentNotNull(nameof(predicate), predicate);
EventAsserts.cs (22)
336 GuardArgumentNotNull(nameof(attach), attach);
337 GuardArgumentNotNull(nameof(detach), detach);
338 GuardArgumentNotNull(nameof(testCode), testCode);
358 GuardArgumentNotNull(nameof(attach), attach);
359 GuardArgumentNotNull(nameof(detach), detach);
360 GuardArgumentNotNull(nameof(testCode), testCode);
426 GuardArgumentNotNull(nameof(handler), handler);
427 GuardArgumentNotNull(nameof(attach), attach);
428 GuardArgumentNotNull(nameof(detach), detach);
429 GuardArgumentNotNull(nameof(testCode), testCode);
442 GuardArgumentNotNull(nameof(attach), attach);
443 GuardArgumentNotNull(nameof(detach), detach);
444 GuardArgumentNotNull(nameof(testCode), testCode);
464 GuardArgumentNotNull(nameof(attach), attach);
465 GuardArgumentNotNull(nameof(detach), detach);
466 GuardArgumentNotNull(nameof(testCode), testCode);
489 GuardArgumentNotNull(nameof(attach), attach);
490 GuardArgumentNotNull(nameof(detach), detach);
491 GuardArgumentNotNull(nameof(testCode), testCode);
511 GuardArgumentNotNull(nameof(attach), attach);
512 GuardArgumentNotNull(nameof(detach), detach);
513 GuardArgumentNotNull(nameof(testCode), testCode);
Sdk\Exceptions\ContainsException.cs (12)
42 Assert.GuardArgumentNotNull(nameof(collection), collection)
60 Assert.GuardArgumentNotNull(nameof(collection), collection),
62 Assert.GuardArgumentNotNull(nameof(item), item)
80 Assert.GuardArgumentNotNull(nameof(keys), keys),
82 Assert.GuardArgumentNotNull(nameof(expectedKey), expectedKey)
100 Assert.GuardArgumentNotNull(nameof(set), set),
102 Assert.GuardArgumentNotNull(nameof(item), item)
120 Assert.GuardArgumentNotNull(nameof(memory), memory),
122 Assert.GuardArgumentNotNull(nameof(expectedSubMemory), expectedSubMemory)
140 Assert.GuardArgumentNotNull(nameof(span), span),
142 Assert.GuardArgumentNotNull(nameof(expectedSubSpan), expectedSubSpan)
166 AssertHelper.ShortenAndEncodeString(Assert.GuardArgumentNotNull(nameof(expectedSubString), expectedSubString))
Sdk\Exceptions\DoesNotContainException.cs (13)
45 Assert.GuardArgumentNotNull(nameof(collection), collection);
71 Assert.GuardArgumentNotNull(nameof(item), item);
72 Assert.GuardArgumentNotNull(nameof(collection), collection);
98 Assert.GuardArgumentNotNull(nameof(keys), keys),
100 Assert.GuardArgumentNotNull(nameof(expectedKey), expectedKey)
118 Assert.GuardArgumentNotNull(nameof(set), set),
120 Assert.GuardArgumentNotNull(nameof(item), item)
138 Assert.GuardArgumentNotNull(nameof(expectedSubMemory), expectedSubMemory);
139 Assert.GuardArgumentNotNull(nameof(memory), memory);
165 Assert.GuardArgumentNotNull(nameof(expectedSubSpan), expectedSubSpan);
166 Assert.GuardArgumentNotNull(nameof(span), span);
190 Assert.GuardArgumentNotNull(nameof(expectedSubString), expectedSubString);
191 Assert.GuardArgumentNotNull(nameof(@string), @string);
Sdk\Exceptions\EquivalentException.cs (13)
60 Assert.GuardArgumentNotNull(nameof(memberName), memberName)
78 Assert.GuardArgumentNotNull(nameof(memberName), memberName)
127 FormatMemberNameList(Assert.GuardArgumentNotNull(nameof(expectedMemberNames), expectedMemberNames), prefix),
129 FormatMemberNameList(Assert.GuardArgumentNotNull(nameof(actualMemberNames), actualMemberNames), prefix)
161 Assert.GuardArgumentNotNull(nameof(memberName), memberName).Length == 0 ? string.Empty : string.Format(CultureInfo.CurrentCulture, ": Mismatched value on member '{0}'", memberName),
191 Assert.GuardArgumentNotNull(nameof(memberName), memberName).Length == 0 ? string.Empty : string.Format(CultureInfo.CurrentCulture, " in member '{0}'", memberName),
226 Assert.GuardArgumentNotNull(nameof(memberName), memberName).Length == 0 ? string.Empty : string.Format(CultureInfo.CurrentCulture, " in member '{0}'", memberName),
228 ArgumentFormatter.Format(Assert.GuardArgumentNotNull(nameof(expected), expected)),
230 ArgumentFormatter.Format(Assert.GuardArgumentNotNull(nameof(actualLeftovers), actualLeftovers)),
231 ArgumentFormatter.Format(Assert.GuardArgumentNotNull(nameof(actual), actual))
254 Assert.GuardArgumentNotNull(nameof(memberName), memberName).Length == 0 ? string.Empty : string.Format(CultureInfo.CurrentCulture, " in member '{0}'", memberName),
256 ArgumentFormatter.FormatTypeName(Assert.GuardArgumentNotNull(nameof(expectedType), expectedType), fullTypeName: true),
258 ArgumentFormatter.FormatTypeName(Assert.GuardArgumentNotNull(nameof(actualType), actualType), fullTypeName: true)
StringAsserts.cs (12)
63 GuardArgumentNotNull(nameof(expectedSubstring), expectedSubstring);
166 GuardArgumentNotNull(nameof(expectedSubstring), expectedSubstring);
306 GuardArgumentNotNull(nameof(expectedSubstring), expectedSubstring);
413 GuardArgumentNotNull(nameof(expectedSubstring), expectedSubstring);
535 GuardArgumentNotNull(nameof(expectedRegexPattern), expectedRegexPattern);
565 GuardArgumentNotNull(nameof(expectedRegex), expectedRegex);
589 GuardArgumentNotNull(nameof(value), value);
729 GuardArgumentNotNull(nameof(expectedEndString), expectedEndString);
1089 GuardArgumentNotNull(nameof(expected), expected);
1362 GuardArgumentNotNull(nameof(expectedRegexPattern), expectedRegexPattern);
1382 GuardArgumentNotNull(nameof(expectedRegex), expectedRegex);
1522 GuardArgumentNotNull(nameof(expectedStartString), expectedStartString);