237 references to NotNull
Microsoft.TestPlatform.CommunicationUtilities (2)
DataCollectionRequestHandler.cs (2)
122
ValidateArg.
NotNull
(communicationManager, nameof(communicationManager));
123
ValidateArg.
NotNull
(messageSink, nameof(messageSink));
Microsoft.TestPlatform.CoreUtilities (5)
Output\OutputExtensions.cs (1)
90
ValidateArg.
NotNull
(output, nameof(output));
Utilities\Job.cs (1)
80
ValidateArg.
NotNull
(waitEvent, nameof(waitEvent));
Utilities\MulticastDelegateUtilities.cs (1)
42
ValidateArg.
NotNull
(args, nameof(args));
ValidateArg.cs (2)
123
NotNull
(arg, parameterName);
142
NotNull
(arg, parameterName);
Microsoft.TestPlatform.CrossPlatEngine (24)
Client\Parallel\ParallelOperationManager.cs (1)
263
ValidateArg.
NotNull
(completedManager, nameof(completedManager));
Client\Parallel\ParallelProxyDiscoveryManager.cs (2)
83
ValidateArg.
NotNull
(discoveryCriteria, nameof(discoveryCriteria));
84
ValidateArg.
NotNull
(eventHandler, nameof(eventHandler));
Client\TestLoggerManager.cs (1)
354
ValidateArg.
NotNull
(uri, nameof(uri));
EventHandlers\PathConverter.cs (16)
34
ValidateArg.
NotNull
(originalPath, nameof(originalPath));
35
ValidateArg.
NotNull
(deploymentPath, nameof(deploymentPath));
36
ValidateArg.
NotNull
(fileHelper, nameof(fileHelper));
74
ValidateArg.
NotNull
(paths, nameof(paths));
80
ValidateArg.
NotNull
(testCase, nameof(testCase));
88
ValidateArg.
NotNull
(testCases, nameof(testCases));
95
ValidateArg.
NotNull
(testRunCompleteEventArgs, nameof(testRunCompleteEventArgs));
102
ValidateArg.
NotNull
(testRunChangedArgs, nameof(testRunChangedArgs));
110
ValidateArg.
NotNull
(attachmentSets, nameof(attachmentSets));
117
ValidateArg.
NotNull
(attachmentSets, nameof(attachmentSets));
124
ValidateArg.
NotNull
(attachmentSet, nameof(attachmentSet));
131
ValidateArg.
NotNull
(attachment, nameof(attachment));
138
ValidateArg.
NotNull
(testResults, nameof(testResults));
149
ValidateArg.
NotNull
(discoveryCriteria, nameof(discoveryCriteria));
161
ValidateArg.
NotNull
(testRunCriteriaWithSources, nameof(testRunCriteriaWithSources));
170
ValidateArg.
NotNull
(testRunCriteriaWithTests, nameof(testRunCriteriaWithTests));
PostProcessing\ArtifactProcessingManager.cs (3)
82
ValidateArg.
NotNull
(testRunCompleteEventArgs, nameof(testRunCompleteEventArgs));
83
ValidateArg.
NotNull
(runSettingsXml, nameof(runSettingsXml));
242
ValidateArg.
NotNull
(fileName, nameof(fileName));
TestSession\TestSessionPool.cs (1)
134
ValidateArg.
NotNull
(requestData, nameof(requestData));
Microsoft.TestPlatform.Extensions.BlameDataCollector (8)
BlameLogger.cs (3)
72
ValidateArg.
NotNull
(events, nameof(events));
83
ValidateArg.
NotNull
(sender, nameof(sender));
84
ValidateArg.
NotNull
(e, nameof(e));
CrashDumperFactory.cs (1)
16
ValidateArg.
NotNull
(targetFramework, nameof(targetFramework));
HangDumperFactory.cs (1)
18
ValidateArg.
NotNull
(targetFramework, nameof(targetFramework));
XmlReaderWriter.cs (3)
61
ValidateArg.
NotNull
(testSequence, nameof(testSequence));
62
ValidateArg.
NotNull
(testObjectDictionary, nameof(testObjectDictionary));
105
ValidateArg.
NotNull
(filePath, nameof(filePath));
Microsoft.TestPlatform.Utilities (4)
ClientUtilities.cs (1)
29
ValidateArg.
NotNull
(xmlDocument, nameof(xmlDocument));
InferRunSettingsHelper.cs (1)
460
ValidateArg.
NotNull
(runSettingsNavigator, nameof(runSettingsNavigator));
MSTestSettingsUtilities.cs (2)
30
ValidateArg.
NotNull
(settingsFile, nameof(settingsFile));
31
ValidateArg.
NotNull
(defaultRunSettings, nameof(defaultRunSettings));
Microsoft.VisualStudio.TestPlatform.Client (4)
Execution\TestRunRequest.cs (1)
358
ValidateArg.
NotNull
(runCompleteArgs, nameof(runCompleteArgs));
TestPlatform.cs (3)
81
ValidateArg.
NotNull
(discoveryCriteria, nameof(discoveryCriteria));
103
ValidateArg.
NotNull
(testRunCriteria, nameof(testRunCriteria));
146
ValidateArg.
NotNull
(testSessionCriteria, nameof(testSessionCriteria));
Microsoft.VisualStudio.TestPlatform.Common (51)
DataCollection\DataCollectionAttachmentManager.cs (3)
101
ValidateArg.
NotNull
(id, nameof(id));
102
ValidateArg.
NotNull
(messageSink, nameof(messageSink));
165
ValidateArg.
NotNull
(fileTransferInfo, nameof(fileTransferInfo));
DataCollection\DataCollectionManager.cs (2)
164
ValidateArg.
NotNull
(settingsXml, nameof(settingsXml));
611
ValidateArg.
NotNull
(args, nameof(args));
DataCollection\TestPlatformDataCollectionEvents.cs (1)
80
ValidateArg.
NotNull
(e, nameof(e));
DataCollection\TestPlatformDataCollectionLogger.cs (9)
47
ValidateArg.
NotNull
(context, nameof(context));
48
ValidateArg.
NotNull
(text, nameof(text));
61
ValidateArg.
NotNull
(context, nameof(context));
62
ValidateArg.
NotNull
(text, nameof(text));
63
ValidateArg.
NotNull
(exception, nameof(exception));
97
ValidateArg.
NotNull
(context, nameof(context));
98
ValidateArg.
NotNull
(text, nameof(text));
124
ValidateArg.
NotNull
(context, nameof(context));
125
ValidateArg.
NotNull
(text, nameof(text));
DataCollection\TestPlatformDataCollectionSink.cs (1)
61
ValidateArg.
NotNull
(fileTransferInformation, nameof(fileTransferInformation));
ExtensionFramework\TestExtensionManager.cs (2)
101
ValidateArg.
NotNull
(extensionUri, nameof(extensionUri));
114
ValidateArg.
NotNull
(extensionUri, nameof(extensionUri));
ExtensionFramework\TestPluginManager.cs (1)
58
ValidateArg.
NotNull
(extensionType, nameof(extensionType));
Logging\InternalTestLoggerEvents.cs (10)
165
ValidateArg.
NotNull
(args, nameof(args));
183
ValidateArg.
NotNull
(args, nameof(args));
202
ValidateArg.
NotNull
(args, nameof(args));
214
ValidateArg.
NotNull
(args, nameof(args));
226
ValidateArg.
NotNull
(args, nameof(args));
239
ValidateArg.
NotNull
(args, nameof(args));
251
ValidateArg.
NotNull
(args, nameof(args));
267
ValidateArg.
NotNull
(args, nameof(args));
322
ValidateArg.
NotNull
(eventHandlersFactory, nameof(eventHandlersFactory));
323
ValidateArg.
NotNull
(args, nameof(args));
RunSettings.cs (2)
176
ValidateArg.
NotNull
(reader, nameof(reader));
177
ValidateArg.
NotNull
(settingsExtensionManager, nameof(settingsExtensionManager));
src\vstest\src\Microsoft.TestPlatform.Filter.Source\Condition.cs (1)
158
ValidateArg.
NotNull
(propertyValueProvider, nameof(propertyValueProvider));
src\vstest\src\Microsoft.TestPlatform.Filter.Source\FastFilter.cs (1)
79
ValidateArg.
NotNull
(propertyValueProvider, nameof(propertyValueProvider));
src\vstest\src\Microsoft.TestPlatform.Filter.Source\FilterExpression.cs (3)
187
ValidateArg.
NotNull
(filterString, nameof(filterString));
353
ValidateArg.
NotNull
(propertyValueProvider, nameof(propertyValueProvider));
377
ValidateArg.
NotNull
(str, nameof(str));
src\vstest\src\Microsoft.TestPlatform.Filter.Source\FilterExpressionWrapper.cs (1)
154
ValidateArg.
NotNull
(propertyValueProvider, nameof(propertyValueProvider));
src\vstest\src\Microsoft.TestPlatform.Filter.Source\TestCaseFilterExpression.cs (2)
88
ValidateArg.
NotNull
(testCase, nameof(testCase));
89
ValidateArg.
NotNull
(propertyValueProvider, nameof(propertyValueProvider));
Utilities\FakesUtilities.cs (2)
39
ValidateArg.
NotNull
(sources, nameof(sources));
40
ValidateArg.
NotNull
(runSettingsXml, nameof(runSettingsXml));
Utilities\RunSettingsProviderExtensions.cs (9)
49
ValidateArg.
NotNull
(runSettingsProvider, nameof(runSettingsProvider));
59
ValidateArg.
NotNull
(runSettingsProvider, nameof(runSettingsProvider));
80
ValidateArg.
NotNull
(runSettingsProvider, nameof(runSettingsProvider));
82
ValidateArg.
NotNull
(data, nameof(data));
111
ValidateArg.
NotNull
(runSettingsProvider, nameof(runSettingsProvider));
145
ValidateArg.
NotNull
(runSettingsProvider, nameof(runSettingsProvider));
147
ValidateArg.
NotNull
(xml, nameof(xml));
156
ValidateArg.
NotNull
(runSettingsProvider, nameof(runSettingsProvider));
216
ValidateArg.
NotNull
(runSettingsProvider, nameof(runSettingsProvider));
Utilities\TypesToLoadUtilities.cs (1)
20
ValidateArg.
NotNull
(assembly, nameof(assembly));
Microsoft.VisualStudio.TestPlatform.Extensions.Html.TestLogger (4)
HtmlLogger.cs (4)
112
ValidateArg.
NotNull
(events, nameof(events));
133
ValidateArg.
NotNull
(parameters, nameof(parameters));
157
ValidateArg.
NotNull
(e, nameof(e));
193
ValidateArg.
NotNull
(e, nameof(e));
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (5)
ObjectModel\CollectorDataEntry.cs (1)
140
ValidateArg.
NotNull
(attachment, nameof(attachment));
TrxLogger.cs (4)
103
ValidateArg.
NotNull
(events, nameof(events));
132
ValidateArg.
NotNull
(parameters, nameof(parameters));
233
ValidateArg.
NotNull
(sender, nameof(sender));
234
ValidateArg.
NotNull
(e, nameof(e));
Microsoft.VisualStudio.TestPlatform.ObjectModel (56)
Client\TestRunCriteria.cs (1)
678
ValidateArg.
NotNull
(runCriteria, nameof(runCriteria));
DataCollector\DataCollectionRunSettings.cs (3)
132
ValidateArg.
NotNull
(reader, nameof(reader));
133
ValidateArg.
NotNull
(dataCollectorsName, nameof(dataCollectorsName));
134
ValidateArg.
NotNull
(dataCollectorName, nameof(dataCollectorName));
Logger\LoggerRunSettings.cs (1)
73
ValidateArg.
NotNull
(reader, nameof(reader));
Navigation\FullSymbolReader.cs (2)
168
ValidateArg.
NotNull
(symbol, nameof(symbol));
377
ValidateArg.
NotNull
(typeSymbol, nameof(typeSymbol));
RunSettings\RunConfiguration.cs (1)
622
ValidateArg.
NotNull
(reader, nameof(reader));
src\vstest\src\Microsoft.TestPlatform.Filter.Source\FilterHelper.cs (2)
50
ValidateArg.
NotNull
(str, nameof(str));
80
ValidateArg.
NotNull
(str, nameof(str));
TestCase.cs (2)
225
ValidateArg.
NotNull
(property, nameof(property));
245
ValidateArg.
NotNull
(property, nameof(property));
TestObject.cs (14)
106
ValidateArg.
NotNull
(property, nameof(property));
169
ValidateArg.
NotNull
(property, nameof(property));
180
ValidateArg.
NotNull
(property, nameof(property));
181
ValidateArg.
NotNull
(culture, nameof(culture));
192
ValidateArg.
NotNull
(property, nameof(property));
193
ValidateArg.
NotNull
(culture, nameof(culture));
204
ValidateArg.
NotNull
(property, nameof(property));
205
ValidateArg.
NotNull
(culture, nameof(culture));
218
ValidateArg.
NotNull
(property, nameof(property));
232
ValidateArg.
NotNull
(property, nameof(property));
244
ValidateArg.
NotNull
(property, nameof(property));
245
ValidateArg.
NotNull
(culture, nameof(culture));
297
ValidateArg.
NotNull
(property, nameof(property));
298
ValidateArg.
NotNull
(culture, nameof(culture));
TestProperty\TestProperty.cs (17)
41
ValidateArg.
NotNull
(label, nameof(label));
42
ValidateArg.
NotNull
(category, nameof(category));
43
ValidateArg.
NotNull
(description, nameof(description));
44
ValidateArg.
NotNull
(valueType, nameof(valueType));
169
ValidateArg.
NotNull
(typeName, nameof(typeName));
272
ValidateArg.
NotNull
(id, nameof(id));
290
ValidateArg.
NotNull
(label, nameof(label));
291
ValidateArg.
NotNull
(valueType, nameof(valueType));
292
ValidateArg.
NotNull
(owner, nameof(owner));
300
ValidateArg.
NotNull
(label, nameof(label));
301
ValidateArg.
NotNull
(valueType, nameof(valueType));
302
ValidateArg.
NotNull
(owner, nameof(owner));
310
ValidateArg.
NotNull
(label, nameof(label));
311
ValidateArg.
NotNull
(category, nameof(category));
312
ValidateArg.
NotNull
(description, nameof(description));
313
ValidateArg.
NotNull
(valueType, nameof(valueType));
314
ValidateArg.
NotNull
(owner, nameof(owner));
TestResult.cs (2)
177
ValidateArg.
NotNull
(property, nameof(property));
197
ValidateArg.
NotNull
(property, nameof(property));
TraitCollection.cs (3)
38
ValidateArg.
NotNull
(trait, nameof(trait));
44
ValidateArg.
NotNull
(name, nameof(name));
50
ValidateArg.
NotNull
(traits, nameof(traits));
Utilities\AssemblyHelper.cs (1)
327
ValidateArg.
NotNull
(assembly, nameof(assembly));
Utilities\XmlReaderUtilities.cs (3)
21
ValidateArg.
NotNull
(reader, nameof(reader));
33
ValidateArg.
NotNull
(reader, nameof(reader));
48
ValidateArg.
NotNull
(reader, nameof(reader));
Utilities\XmlRunSettingsUtilities.cs (4)
63
ValidateArg.
NotNull
(runSettingDocument, nameof(runSettingDocument));
64
ValidateArg.
NotNull
(dataCollectorUri, nameof(dataCollectorUri));
116
ValidateArg.
NotNull
(runSettingDocument, nameof(runSettingDocument));
117
ValidateArg.
NotNull
(settings, nameof(settings));
vstest.console (37)
CommandLine\CommandArgumentPair.cs (1)
61
ValidateArg.
NotNull
(input, nameof(input));
CommandLine\Executor.cs (2)
365
ValidateArg.
NotNull
(argumentProcessors, nameof(argumentProcessors));
366
ValidateArg.
NotNull
(processorFactory, nameof(processorFactory));
CommandLine\TestRunResultAggregator.cs (2)
46
ValidateArg.
NotNull
(testRunRequest, nameof(testRunRequest));
58
ValidateArg.
NotNull
(testRunRequest, nameof(testRunRequest));
Internal\ConsoleLogger.cs (8)
173
ValidateArg.
NotNull
(events, nameof(events));
199
ValidateArg.
NotNull
(parameters, nameof(parameters));
413
ValidateArg.
NotNull
(sender, nameof(sender));
414
ValidateArg.
NotNull
(e, nameof(e));
433
ValidateArg.
NotNull
(sender, nameof(sender));
434
ValidateArg.
NotNull
(e, nameof(e));
499
ValidateArg.
NotNull
(sender, nameof(sender));
500
ValidateArg.
NotNull
(e, nameof(e));
Internal\MSBuildLogger.cs (3)
58
ValidateArg.
NotNull
(events, nameof(events));
150
ValidateArg.
NotNull
(sender, nameof(sender));
151
ValidateArg.
NotNull
(e, nameof(e));
Processors\EnableLoggerArgumentProcessor.cs (1)
99
ValidateArg.
NotNull
(runSettingsManager, nameof(runSettingsManager));
Processors\FrameworkArgumentProcessor.cs (2)
86
ValidateArg.
NotNull
(options, nameof(options));
87
ValidateArg.
NotNull
(runSettingsManager, nameof(runSettingsManager));
Processors\InIsolationArgumentProcessor.cs (1)
75
ValidateArg.
NotNull
(options, nameof(options));
Processors\ListFullyQualifiedTestsArgumentProcessor.cs (1)
135
ValidateArg.
NotNull
(options, nameof(options));
Processors\ListTestsArgumentProcessor.cs (1)
139
ValidateArg.
NotNull
(options, nameof(options));
Processors\ListTestsTargetPathArgumentProcessor.cs (1)
66
ValidateArg.
NotNull
(options, nameof(options));
Processors\ParallelArgumentProcessor.cs (2)
81
ValidateArg.
NotNull
(options, nameof(options));
82
ValidateArg.
NotNull
(runSettingsManager, nameof(runSettingsManager));
Processors\ParentProcessIdArgumentProcessor.cs (1)
77
ValidateArg.
NotNull
(options, nameof(options));
Processors\PlatformArgumentProcessor.cs (2)
86
ValidateArg.
NotNull
(options, nameof(options));
87
ValidateArg.
NotNull
(runSettingsManager, nameof(runSettingsManager));
Processors\PortArgumentProcessor.cs (1)
122
ValidateArg.
NotNull
(options, nameof(options));
Processors\ResultsDirectoryArgumentProcessor.cs (2)
89
ValidateArg.
NotNull
(options, nameof(options));
90
ValidateArg.
NotNull
(runSettingsManager, nameof(runSettingsManager));
Processors\RunSpecificTestsArgumentProcessor.cs (2)
137
ValidateArg.
NotNull
(options, nameof(options));
138
ValidateArg.
NotNull
(testRequestManager, nameof(testRequestManager));
Processors\RunTestsArgumentProcessor.cs (1)
109
ValidateArg.
NotNull
(commandLineOptions, nameof(commandLineOptions));
Processors\TestCaseFilterArgumentProcessor.cs (1)
78
ValidateArg.
NotNull
(options, nameof(options));
Processors\TestSourceArgumentProcessor.cs (1)
72
ValidateArg.
NotNull
(testSources, nameof(testSources));
Processors\Utilities\ArgumentProcessorFactory.cs (1)
37
ValidateArg.
NotNull
(argumentProcessors, nameof(argumentProcessors));
vstest.console.arm64 (37)
src\vstest\src\vstest.console\CommandLine\CommandArgumentPair.cs (1)
61
ValidateArg.
NotNull
(input, nameof(input));
src\vstest\src\vstest.console\CommandLine\Executor.cs (2)
365
ValidateArg.
NotNull
(argumentProcessors, nameof(argumentProcessors));
366
ValidateArg.
NotNull
(processorFactory, nameof(processorFactory));
src\vstest\src\vstest.console\CommandLine\TestRunResultAggregator.cs (2)
46
ValidateArg.
NotNull
(testRunRequest, nameof(testRunRequest));
58
ValidateArg.
NotNull
(testRunRequest, nameof(testRunRequest));
src\vstest\src\vstest.console\Internal\ConsoleLogger.cs (8)
173
ValidateArg.
NotNull
(events, nameof(events));
199
ValidateArg.
NotNull
(parameters, nameof(parameters));
413
ValidateArg.
NotNull
(sender, nameof(sender));
414
ValidateArg.
NotNull
(e, nameof(e));
433
ValidateArg.
NotNull
(sender, nameof(sender));
434
ValidateArg.
NotNull
(e, nameof(e));
499
ValidateArg.
NotNull
(sender, nameof(sender));
500
ValidateArg.
NotNull
(e, nameof(e));
src\vstest\src\vstest.console\Internal\MSBuildLogger.cs (3)
58
ValidateArg.
NotNull
(events, nameof(events));
150
ValidateArg.
NotNull
(sender, nameof(sender));
151
ValidateArg.
NotNull
(e, nameof(e));
src\vstest\src\vstest.console\Processors\EnableLoggerArgumentProcessor.cs (1)
99
ValidateArg.
NotNull
(runSettingsManager, nameof(runSettingsManager));
src\vstest\src\vstest.console\Processors\FrameworkArgumentProcessor.cs (2)
86
ValidateArg.
NotNull
(options, nameof(options));
87
ValidateArg.
NotNull
(runSettingsManager, nameof(runSettingsManager));
src\vstest\src\vstest.console\Processors\InIsolationArgumentProcessor.cs (1)
75
ValidateArg.
NotNull
(options, nameof(options));
src\vstest\src\vstest.console\Processors\ListFullyQualifiedTestsArgumentProcessor.cs (1)
135
ValidateArg.
NotNull
(options, nameof(options));
src\vstest\src\vstest.console\Processors\ListTestsArgumentProcessor.cs (1)
139
ValidateArg.
NotNull
(options, nameof(options));
src\vstest\src\vstest.console\Processors\ListTestsTargetPathArgumentProcessor.cs (1)
66
ValidateArg.
NotNull
(options, nameof(options));
src\vstest\src\vstest.console\Processors\ParallelArgumentProcessor.cs (2)
81
ValidateArg.
NotNull
(options, nameof(options));
82
ValidateArg.
NotNull
(runSettingsManager, nameof(runSettingsManager));
src\vstest\src\vstest.console\Processors\ParentProcessIdArgumentProcessor.cs (1)
77
ValidateArg.
NotNull
(options, nameof(options));
src\vstest\src\vstest.console\Processors\PlatformArgumentProcessor.cs (2)
86
ValidateArg.
NotNull
(options, nameof(options));
87
ValidateArg.
NotNull
(runSettingsManager, nameof(runSettingsManager));
src\vstest\src\vstest.console\Processors\PortArgumentProcessor.cs (1)
122
ValidateArg.
NotNull
(options, nameof(options));
src\vstest\src\vstest.console\Processors\ResultsDirectoryArgumentProcessor.cs (2)
89
ValidateArg.
NotNull
(options, nameof(options));
90
ValidateArg.
NotNull
(runSettingsManager, nameof(runSettingsManager));
src\vstest\src\vstest.console\Processors\RunSpecificTestsArgumentProcessor.cs (2)
137
ValidateArg.
NotNull
(options, nameof(options));
138
ValidateArg.
NotNull
(testRequestManager, nameof(testRequestManager));
src\vstest\src\vstest.console\Processors\RunTestsArgumentProcessor.cs (1)
109
ValidateArg.
NotNull
(commandLineOptions, nameof(commandLineOptions));
src\vstest\src\vstest.console\Processors\TestCaseFilterArgumentProcessor.cs (1)
78
ValidateArg.
NotNull
(options, nameof(options));
src\vstest\src\vstest.console\Processors\TestSourceArgumentProcessor.cs (1)
72
ValidateArg.
NotNull
(testSources, nameof(testSources));
src\vstest\src\vstest.console\Processors\Utilities\ArgumentProcessorFactory.cs (1)
37
ValidateArg.
NotNull
(argumentProcessors, nameof(argumentProcessors));