1 implementation of Exists
Microsoft.TestPlatform.CoreUtilities (1)
Helpers\FileHelper.cs (1)
30public bool Exists(string? path)
55 references to Exists
datacollector (2)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (2)
89if (_fileHelper.Exists(candidatePath)) 118if (_fileHelper.Exists(exeFullPath))
datacollector.arm64 (2)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (2)
89if (_fileHelper.Exists(candidatePath)) 118if (_fileHelper.Exists(exeFullPath))
Microsoft.TestPlatform.CoreUtilities (6)
Helpers\DotnetHostHelper.cs (6)
117if (_fileHelper.Exists(exeFullPath)) 199if (!_fileHelper.Exists(muxerPath)) 233if (!_fileHelper.Exists(muxerPath)) 291if (!_fileHelper.Exists(muxerPath)) 352if (!_fileHelper.Exists(installLocation)) 357if (!_fileHelper.Exists(installLocation))
Microsoft.TestPlatform.CrossPlatEngine (5)
Client\ProxyDiscoveryManager.cs (1)
360var nonExistingExtensions = extensions.Where(extension => !_fileHelper.Exists(extension));
Client\ProxyExecutionManager.cs (1)
498var nonExistingExtensions = extensions.Where(extension => !_fileHelper.Exists(extension));
DataCollection\DotnetDataCollectionLauncher.cs (2)
75if (_fileHelper.Exists(runtimeConfigPath)) 88if (_fileHelper.Exists(depsFilePath))
DataCollection\InProcDataCollectionExtensionManager.cs (1)
253if (_fileHelper.Exists(assemblyPath))
Microsoft.TestPlatform.Extensions.BlameDataCollector (4)
ProcessDumpUtility.cs (1)
69var found = _fileHelper.Exists(dumpPath);
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (2)
89if (_fileHelper.Exists(candidatePath)) 118if (_fileHelper.Exists(exeFullPath))
XmlReaderWriter.cs (1)
107if (!_fileHelper.Exists(filePath))
Microsoft.TestPlatform.TestHostRuntimeProvider (13)
Hosting\DefaultTestHostManager.cs (1)
195if (!_fileHelper.Exists(testhostProcessPath))
Hosting\DotnetTestHostManager.cs (12)
275if (_fileHelper.Exists(runtimeConfigPath)) 289if (_fileHelper.Exists(depsFilePath)) 327if (_fileHelper.Exists(fullExePath)) 349if (!_fileHelper.Exists(testHostExeNugetPath)) 357if (_fileHelper.Exists(testHostExeNugetPath)) 384if (_fileHelper.Exists(testHostNextToRunner)) 448if (!_fileHelper.Exists(testhostRuntimeConfig)) 571var testhostVersionInfo = _fileHelper.Exists(testhostDllPath) ? FileVersionInfo.GetVersionInfo(testhostDllPath) : null; 897if (_fileHelper.Exists(depsFilePath)) 899if (_fileHelper.Exists(runtimeConfigDevPath)) 974if (_fileHelper.Exists(testHostFullPath)) 1026if (_fileHelper.Exists(testHostNextToTestProject))
Microsoft.TestPlatform.VsTestConsole.TranslationLayer (1)
VsTestConsoleProcessManager.cs (1)
88if (!FileHelper.Exists(vstestConsolePath))
Microsoft.VisualStudio.TestPlatform.Client (1)
TestPlatform.cs (1)
361if (fileHelper.Exists(path))
Microsoft.VisualStudio.TestPlatform.Common (1)
Utilities\InstallationContext.cs (1)
31if (!pathToDevenv.IsNullOrEmpty() && _fileHelper.Exists(pathToDevenv))
Microsoft.VisualStudio.TestPlatform.Extensions.Html.TestLogger (1)
HtmlLogger.cs (1)
365catch (IOException) when (_fileHelper.Exists(fullFilePath))
Microsoft.VisualStudio.TestPlatform.ObjectModel (1)
DataCollector\TransferInformation\FileTransferInformation.cs (1)
61if (!_fileHelper.Exists(path))
testhost (2)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (2)
89if (_fileHelper.Exists(candidatePath)) 118if (_fileHelper.Exists(exeFullPath))
testhost.arm64 (2)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (2)
89if (_fileHelper.Exists(candidatePath)) 118if (_fileHelper.Exists(exeFullPath))
testhost.x86 (2)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (2)
89if (_fileHelper.Exists(candidatePath)) 118if (_fileHelper.Exists(exeFullPath))
vstest.console (6)
Internal\FilePatternParser.cs (1)
64if (!_fileHelper.Exists(filePattern))
Processors\AeDebuggerArgumentProcessor.cs (1)
155if (!_fileHelper.Exists(procDumpPath))
Processors\CollectArgumentProcessor.cs (1)
123if (fileHelper.Exists(collectorPath))
Processors\RunSettingsArgumentProcessor.cs (1)
89if (!FileHelper.Exists(argument))
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (2)
89if (_fileHelper.Exists(candidatePath)) 118if (_fileHelper.Exists(exeFullPath))
vstest.console.arm64 (6)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (2)
89if (_fileHelper.Exists(candidatePath)) 118if (_fileHelper.Exists(exeFullPath))
src\vstest\src\vstest.console\Internal\FilePatternParser.cs (1)
64if (!_fileHelper.Exists(filePattern))
src\vstest\src\vstest.console\Processors\AeDebuggerArgumentProcessor.cs (1)
155if (!_fileHelper.Exists(procDumpPath))
src\vstest\src\vstest.console\Processors\CollectArgumentProcessor.cs (1)
123if (fileHelper.Exists(collectorPath))
src\vstest\src\vstest.console\Processors\RunSettingsArgumentProcessor.cs (1)
89if (!FileHelper.Exists(argument))