72 references to GuardArgumentNotNull
xunit.assert (72)
CollectionAsserts.cs (25)
37 GuardArgumentNotNull(nameof(collection), collection); 38 GuardArgumentNotNull(nameof(action), action); 55 GuardArgumentNotNull(nameof(collection), collection); 56 GuardArgumentNotNull(nameof(action), action); 163 GuardArgumentNotNull(nameof(collection), collection); 164 GuardArgumentNotNull(nameof(elementInspectors), elementInspectors); 232 GuardArgumentNotNull(nameof(collection), collection); 268 GuardArgumentNotNull(nameof(collection), collection); 269 GuardArgumentNotNull(nameof(comparer), comparer); 288 GuardArgumentNotNull(nameof(collection), collection); 289 GuardArgumentNotNull(nameof(filter), filter); 318 GuardArgumentNotNull(nameof(collection), collection); 319 GuardArgumentNotNull(nameof(comparer), comparer); 339 GuardArgumentNotNull(nameof(collection), collection); 375 GuardArgumentNotNull(nameof(collection), collection); 376 GuardArgumentNotNull(nameof(comparer), comparer); 395 GuardArgumentNotNull(nameof(collection), collection); 396 GuardArgumentNotNull(nameof(filter), filter); 411 GuardArgumentNotNull(nameof(collection), collection); 469 GuardArgumentNotNull(nameof(collection), collection); 533 GuardArgumentNotNull(nameof(collection), collection); 556 GuardArgumentNotNull(nameof(collection), collection); 572 GuardArgumentNotNull(nameof(collection), collection); 593 GuardArgumentNotNull(nameof(collection), collection); 594 GuardArgumentNotNull(nameof(predicate), predicate);
DictionaryAsserts.cs (8)
38 GuardArgumentNotNull(nameof(expected), expected); 39 GuardArgumentNotNull(nameof(collection), collection); 64 GuardArgumentNotNull(nameof(expected), expected); 65 GuardArgumentNotNull(nameof(collection), collection); 148 GuardArgumentNotNull(nameof(expected), expected); 149 GuardArgumentNotNull(nameof(collection), collection); 171 GuardArgumentNotNull(nameof(expected), expected); 172 GuardArgumentNotNull(nameof(collection), collection);
EqualityAsserts.cs (2)
90 GuardArgumentNotNull(nameof(comparer), comparer); 403 GuardArgumentNotNull(nameof(comparer), comparer);
EventAsserts.cs (6)
121 GuardArgumentNotNull(nameof(attach), attach); 122 GuardArgumentNotNull(nameof(detach), detach); 123 GuardArgumentNotNull(nameof(testCode), testCode); 147 GuardArgumentNotNull(nameof(attach), attach); 148 GuardArgumentNotNull(nameof(detach), detach); 149 GuardArgumentNotNull(nameof(testCode), testCode);
ExceptionAsserts.cs (2)
227 GuardArgumentNotNull(nameof(exceptionType), exceptionType); 246 GuardArgumentNotNull(nameof(exceptionType), exceptionType);
FailAsserts.cs (1)
29 GuardArgumentNotNull(nameof(message), message);
PropertyAsserts.cs (6)
32 GuardArgumentNotNull(nameof(@object), @object); 33 GuardArgumentNotNull(nameof(propertyName), propertyName); 34 GuardArgumentNotNull(nameof(testCode), testCode); 78 GuardArgumentNotNull(nameof(@object), @object); 79 GuardArgumentNotNull(nameof(propertyName), propertyName); 80 GuardArgumentNotNull(nameof(testCode), testCode);
RangeAsserts.cs (2)
48 GuardArgumentNotNull(nameof(comparer), comparer); 84 GuardArgumentNotNull(nameof(comparer), comparer);
Record.cs (3)
29 GuardArgumentNotNull(nameof(testCode), testCode); 54 GuardArgumentNotNull(nameof(testCode), testCode); 109 GuardArgumentNotNull(nameof(testCode), testCode);
SetAsserts.cs (8)
32 GuardArgumentNotNull(nameof(set), set); 51 GuardArgumentNotNull(nameof(set), set); 96 GuardArgumentNotNull(nameof(set), set); 114 GuardArgumentNotNull(nameof(set), set); 162 GuardArgumentNotNull(nameof(expectedSuperset), expectedSuperset); 183 GuardArgumentNotNull(nameof(expectedSubset), expectedSubset); 204 GuardArgumentNotNull(nameof(expectedSuperset), expectedSuperset); 225 GuardArgumentNotNull(nameof(expectedSubset), expectedSubset);
StringAsserts.cs (6)
49 GuardArgumentNotNull(nameof(expectedSubstring), expectedSubstring); 86 GuardArgumentNotNull(nameof(expectedSubstring), expectedSubstring); 180 GuardArgumentNotNull(nameof(expectedRegexPattern), expectedRegexPattern); 200 GuardArgumentNotNull(nameof(expectedRegex), expectedRegex); 220 GuardArgumentNotNull(nameof(expectedRegexPattern), expectedRegexPattern); 240 GuardArgumentNotNull(nameof(expectedRegex), expectedRegex);
TypeAsserts.cs (3)
53 GuardArgumentNotNull(nameof(expectedType), expectedType); 86 GuardArgumentNotNull(nameof(expectedType), expectedType); 123 GuardArgumentNotNull(nameof(expectedType), expectedType);