27 references to IsNullOrWhiteSpace
datacollector (1)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (1)
69if (procdumpDirectory.IsNullOrWhiteSpace())
datacollector.arm64 (1)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (1)
69if (procdumpDirectory.IsNullOrWhiteSpace())
Microsoft.TestPlatform.CoreUtilities (1)
ValidateArg.cs (1)
81return arg.IsNullOrWhiteSpace() ? throw new ArgumentNullException(parameterName) : arg;
Microsoft.TestPlatform.Extensions.BlameDataCollector (1)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (1)
69if (procdumpDirectory.IsNullOrWhiteSpace())
Microsoft.VisualStudio.TestPlatform.ObjectModel (18)
DataCollector\DataCollectorSettings.cs (3)
108if (!StringUtils.IsNullOrWhiteSpace(AssemblyQualifiedName)) 113if (!StringUtils.IsNullOrWhiteSpace(FriendlyName)) 120if (!StringUtils.IsNullOrWhiteSpace(CodeBase))
Framework.cs (1)
60if (frameworkString.IsNullOrWhiteSpace())
Logger\LoggerSettings.cs (4)
112if (StringUtils.IsNullOrWhiteSpace(attributeValue)) 183if (StringUtils.IsNullOrWhiteSpace(settings.FriendlyName) && 184StringUtils.IsNullOrWhiteSpace(settings.Uri?.ToString()) && 185StringUtils.IsNullOrWhiteSpace(settings.AssemblyQualifiedName))
TestCase.cs (5)
293private 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)); 294private 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)); 296private bool ContainsManagedMethodAndType => !StringUtils.IsNullOrWhiteSpace(ManagedMethod) && !StringUtils.IsNullOrWhiteSpace(ManagedType); 354return !StringUtils.IsNullOrWhiteSpace((string?)value);
TestResult.cs (1)
135if (!StringUtils.IsNullOrWhiteSpace(ErrorStackTrace))
Utilities\XmlRunSettingsUtilities.cs (4)
89if (!runsettingsXml.IsNullOrWhiteSpace()) 228if (runSettingsXml.IsNullOrWhiteSpace()) 273if (runSettingsXml.IsNullOrWhiteSpace()) 352if (settingsXml.IsNullOrWhiteSpace())
testhost (1)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (1)
69if (procdumpDirectory.IsNullOrWhiteSpace())
testhost.arm64 (1)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (1)
69if (procdumpDirectory.IsNullOrWhiteSpace())
testhost.x86 (1)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (1)
69if (procdumpDirectory.IsNullOrWhiteSpace())
vstest.console (1)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (1)
69if (procdumpDirectory.IsNullOrWhiteSpace())
vstest.console.arm64 (1)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (1)
69if (procdumpDirectory.IsNullOrWhiteSpace())