27 references to IsNullOrWhiteSpace
datacollector (1)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (1)
69
if (procdumpDirectory.
IsNullOrWhiteSpace
())
datacollector.arm64 (1)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (1)
69
if (procdumpDirectory.
IsNullOrWhiteSpace
())
Microsoft.TestPlatform.CoreUtilities (1)
ValidateArg.cs (1)
81
return arg.
IsNullOrWhiteSpace
() ? throw new ArgumentNullException(parameterName) : arg;
Microsoft.TestPlatform.Extensions.BlameDataCollector (1)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (1)
69
if (procdumpDirectory.
IsNullOrWhiteSpace
())
Microsoft.VisualStudio.TestPlatform.ObjectModel (18)
DataCollector\DataCollectorSettings.cs (3)
108
if (!StringUtils.
IsNullOrWhiteSpace
(AssemblyQualifiedName))
113
if (!StringUtils.
IsNullOrWhiteSpace
(FriendlyName))
120
if (!StringUtils.
IsNullOrWhiteSpace
(CodeBase))
Framework.cs (1)
60
if (frameworkString.
IsNullOrWhiteSpace
())
Logger\LoggerSettings.cs (4)
112
if (StringUtils.
IsNullOrWhiteSpace
(attributeValue))
183
if (StringUtils.
IsNullOrWhiteSpace
(settings.FriendlyName) &&
184
StringUtils.
IsNullOrWhiteSpace
(settings.Uri?.ToString()) &&
185
StringUtils.
IsNullOrWhiteSpace
(settings.AssemblyQualifiedName))
TestCase.cs (5)
343
private static readonly TestProperty ManagedTypeProperty = TestProperty.Register("TestCase.ManagedType", "ManagedType", string.Empty, string.Empty, typeof(string), o => !StringUtils.
IsNullOrWhiteSpace
(o as string), TestPropertyAttributes.Hidden, typeof(TestCase));
344
private static readonly TestProperty ManagedMethodProperty = TestProperty.Register("TestCase.ManagedMethod", "ManagedMethod", string.Empty, string.Empty, typeof(string), o => !StringUtils.
IsNullOrWhiteSpace
(o as string), TestPropertyAttributes.Hidden, typeof(TestCase));
346
private bool ContainsManagedMethodAndType => !StringUtils.
IsNullOrWhiteSpace
(ManagedMethod) && !StringUtils.
IsNullOrWhiteSpace
(ManagedType);
404
return !StringUtils.
IsNullOrWhiteSpace
((string?)value);
TestResult.cs (1)
135
if (!StringUtils.
IsNullOrWhiteSpace
(ErrorStackTrace))
Utilities\XmlRunSettingsUtilities.cs (4)
89
if (!runsettingsXml.
IsNullOrWhiteSpace
())
228
if (runSettingsXml.
IsNullOrWhiteSpace
())
273
if (runSettingsXml.
IsNullOrWhiteSpace
())
352
if (settingsXml.
IsNullOrWhiteSpace
())
testhost (1)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (1)
69
if (procdumpDirectory.
IsNullOrWhiteSpace
())
testhost.arm64 (1)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (1)
69
if (procdumpDirectory.
IsNullOrWhiteSpace
())
testhost.x86 (1)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (1)
69
if (procdumpDirectory.
IsNullOrWhiteSpace
())
vstest.console (1)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (1)
69
if (procdumpDirectory.
IsNullOrWhiteSpace
())
vstest.console.arm64 (1)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (1)
69
if (procdumpDirectory.
IsNullOrWhiteSpace
())