12 references to IsNullOrEmpty
Microsoft.TestPlatform.Build (12)
Tasks\TestTaskUtils.cs (10)
41if (task.VSTestConsolePath != null && !task.VSTestConsolePath.ItemSpec.IsNullOrEmpty()) 51if (!task.VSTestSetting.IsNullOrEmpty()) 70if (!task.VSTestPlatform.IsNullOrEmpty() && !task.VSTestPlatform.Contains("AnyCPU")) 100if (task.TestFileFullPath == null || task.TestFileFullPath.ItemSpec.IsNullOrEmpty()) 158if (!task.VSTestBlameCrashDumpType.IsNullOrEmpty()) 168if (!task.VSTestBlameHangDumpType.IsNullOrEmpty()) 173if (!task.VSTestBlameHangTimeout.IsNullOrEmpty()) 221if (task.VSTestTraceDataCollectorDirectoryPath != null && !task.VSTestTraceDataCollectorDirectoryPath.ItemSpec.IsNullOrEmpty()) 385if (!StringUtils.IsNullOrEmpty(trimmed)) 403return StringUtils.IsNullOrEmpty(dotnetHostPath) ? null : Path.GetFullPath(dotnetHostPath);
Tasks\VSTestTask.cs (1)
79if (!VSTestFramework.IsNullOrEmpty())
Tasks\VSTestTask2.cs (1)
166var testResultWithTime = !formattedDuration.IsNullOrEmpty() ? $"{indicator} {displayName} [{formattedDuration}]" : $"{indicator} {displayName}";