2 writes to _testHostProcess
Microsoft.TestPlatform.TestHostRuntimeProvider (2)
Hosting\DotnetTestHostManager.cs (2)
860_testHostProcess = _processHelper.LaunchProcess( 873_testHostProcess = Process.GetProcessById(processId);
9 references to _testHostProcess
Microsoft.TestPlatform.TestHostRuntimeProvider (9)
Hosting\DotnetTestHostManager.cs (9)
777_processHelper.TerminateProcess(_testHostProcess); 784_testHostProcess?.Dispose(); 792TPDebug.Assert(_targetFramework is not null && _testHostProcess is not null, "DotnetTestHostManager: TargetFramework is null"); 795ITestHostLauncher3 launcher3 => launcher3.AttachDebuggerToProcess(new AttachDebuggerInfo { ProcessId = _testHostProcess.Id, TargetFramework = _targetFramework.ToString() }, CancellationToken.None), 796ITestHostLauncher2 launcher2 => launcher2.AttachDebuggerToProcess(_testHostProcess.Id), 829[MemberNotNullWhen(true, nameof(_testHostProcess))] 877if (_testHostProcess is null) 882DefaultTestHostManager.AdjustProcessPriorityBasedOnSettings(_testHostProcess, testHostStartInfo.EnvironmentVariables); 883OnHostLaunched(new HostProviderEventArgs("Test Runtime launched", 0, _testHostProcess.Id));