16 references to IsNullOrEmpty
Microsoft.TestPlatform.CoreUtilities (3)
Extensions\StringBuilderExtensions.cs (1)
19if (data.IsNullOrEmpty())
Helpers\EnvironmentHelper.cs (1)
22if (!envVarValue.IsNullOrEmpty() && int.TryParse(envVarValue, out int value) && value >= 0)
ValidateArg.cs (1)
60return arg.IsNullOrEmpty() ? throw new ArgumentNullException(parameterName) : arg;
Microsoft.VisualStudio.TestPlatform.ObjectModel (13)
ConnectionInfo\TestRunnerConnectionInfoExtensions.cs (1)
21if (!StringUtils.IsNullOrEmpty(connectionInfo.LogFile))
DataCollector\Common\FileHelper.cs (1)
62if (fileName.IsNullOrEmpty())
Navigation\FullSymbolReader.cs (2)
132if (StringUtils.IsNullOrEmpty(searchPath)) 455TPDebug.Assert(!StringUtils.IsNullOrEmpty(methodName), "MethodName cannot be empty.");
RunSettings\RunConfiguration.cs (5)
564if (!StringUtils.IsNullOrEmpty(TargetDevice)) 571if (!StringUtils.IsNullOrEmpty(TestCaseFilter)) 578if (!StringUtils.IsNullOrEmpty(DotnetHostPath)) 642if (StringUtils.IsNullOrEmpty(resultsDir)) 900if (solutionDirectory.IsNullOrEmpty()
TestCase.cs (1)
111get => _displayName.IsNullOrEmpty() ? GetFullyQualifiedName() : _displayName;
TestResult.cs (2)
151if (!StringUtils.IsNullOrEmpty(message?.Category) && !StringUtils.IsNullOrEmpty(message.Text))
Utilities\StringUtilities.cs (1)
43return input.IsNullOrEmpty();