2 writes to _testHostProcess
Microsoft.TestPlatform.TestHostRuntimeProvider (2)
Hosting\DotnetTestHostManager.cs (2)
861_testHostProcess = _processHelper.LaunchProcess( 874_testHostProcess = Process.GetProcessById(processId);
9 references to _testHostProcess
Microsoft.TestPlatform.TestHostRuntimeProvider (9)
Hosting\DotnetTestHostManager.cs (9)
778_processHelper.TerminateProcess(_testHostProcess); 785_testHostProcess?.Dispose(); 793TPDebug.Assert(_targetFramework is not null && _testHostProcess is not null, "DotnetTestHostManager: TargetFramework is null"); 796ITestHostLauncher3 launcher3 => launcher3.AttachDebuggerToProcess(new AttachDebuggerInfo { ProcessId = _testHostProcess.Id, TargetFramework = _targetFramework.ToString() }, CancellationToken.None), 797ITestHostLauncher2 launcher2 => launcher2.AttachDebuggerToProcess(_testHostProcess.Id), 830[MemberNotNullWhen(true, nameof(_testHostProcess))] 878if (_testHostProcess is null) 883DefaultTestHostManager.AdjustProcessPriorityBasedOnSettings(_testHostProcess, testHostStartInfo.EnvironmentVariables); 884OnHostLaunched(new HostProviderEventArgs("Test Runtime launched", 0, _testHostProcess.Id));