2 writes to _componentHost
Microsoft.Build (2)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (2)
555_componentHost = host; 563_componentHost = null;
28 references to _componentHost
Microsoft.Build (28)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (28)
188return (_requestTask?.IsCompleted == false) || (_componentHost.LegacyThreadingData.MainThreadSubmissionId != -1); 201ErrorUtilities.VerifyThrow(_componentHost != null, "Host not set."); 213_targetBuilder = (ITargetBuilder)_componentHost.GetComponent(BuildComponentType.TargetBuilder); 339ErrorUtilities.VerifyThrow(_componentHost != null, "No host object set"); 367BuildRequestConfiguration config = new BuildRequestConfiguration(data, _componentHost.BuildParameters.DefaultToolsVersion); 368ProjectIsolationMode isolateProjects = _componentHost.BuildParameters.ProjectIsolationMode; 408if (IsBuilderUsingLegacyThreadingSemantics(_componentHost, _requestEntry)) 554ErrorUtilities.VerifyThrow(_componentHost == null, "RequestBuilder already initialized."); 648if (IsBuilderUsingLegacyThreadingSemantics(_componentHost, _requestEntry)) 651_componentHost.LegacyThreadingData.SignalLegacyThreadStart(this); 664IBuildComponentHost componentHostSnapshot = _componentHost; 681ErrorUtilities.VerifyThrow(_componentHost.LegacyThreadingData.MainThreadSubmissionId != _requestEntry.Request.SubmissionId, "Can't start builder thread when we are using legacy threading semantics for this request."); 719CultureInfo.CurrentCulture = _componentHost.BuildParameters.Culture; 720CultureInfo.CurrentUICulture = _componentHost.BuildParameters.UICulture; 722Thread.CurrentThread.Priority = _componentHost.BuildParameters.BuildThreadPriority; 903if (_componentHost.BuildParameters.SaveOperatingEnvironment) 963if (IsBuilderUsingLegacyThreadingSemantics(_componentHost, _requestEntry)) 965handle = RequestBuilder.WaitWithBuilderThreadStart(handles, true, _componentHost.LegacyThreadingData, _requestEntry.Request.SubmissionId); 1095if (_componentHost.BuildParameters.SaveOperatingEnvironment) 1113: (_componentHost.GetComponent(BuildComponentType.BuildCheckManagerProvider) as IBuildCheckManagerProvider)!.Instance; 1135_componentHost, 1194(_requestEntry.RequestConfiguration.ResultsNodeId != _componentHost.BuildParameters.NodeId)) 1201_requestEntry.RequestConfiguration.ResultsNodeId == _componentHost.BuildParameters.NodeId, 1234var resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.ResultsCache); 1265if (_componentHost.BuildParameters.SaveOperatingEnvironment) 1302if (_requestEntry.RequestConfiguration.SavedEnvironmentVariables != null && _componentHost.BuildParameters.SaveOperatingEnvironment) 1310SetEnvironmentVariableBlock(_componentHost.BuildParameters.BuildProcessEnvironment); 1319if (_componentHost.BuildParameters.SaveOperatingEnvironment)