2 writes to _componentHost
Microsoft.Build (2)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (2)
595_componentHost = host; 613_componentHost = null;
22 references to _componentHost
Microsoft.Build (22)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (22)
190ErrorUtilities.VerifyThrow(_componentHost != null, "BuildRequestEngine not initialized by component host."); 286IBuildCheckManagerProvider buildCheckProvider = (_componentHost.GetComponent(BuildComponentType.BuildCheckManagerProvider) as IBuildCheckManagerProvider); 339IResultsCache cache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.ResultsCache); 342BuildRequestConfiguration config = ((IConfigCache)_componentHost.GetComponent(BuildComponentType.ConfigCache))[request.ConfigurationId]; 355TraceEngine("Request {0}({1}) (nr {2}) retrieved results for configuration {3} from node {4} for transfer.", request.GlobalRequestId, request.ConfigurationId, request.NodeRequestId, request.ConfigurationId, _componentHost.BuildParameters.NodeId); 364if (_componentHost.BuildParameters.NodeId != Scheduler.InProcNodeId) 429TraceEngine("Request {0}({1}) (nr {2}) has retrieved the results for configuration {3} and cached them on node {4} (UBR).", entry.Request.GlobalRequestId, entry.Request.ConfigurationId, entry.Request.NodeRequestId, entry.Request.ConfigurationId, _componentHost.BuildParameters.NodeId); 431IResultsCache resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.ResultsCache); 432IConfigCache configCache = (IConfigCache)_componentHost.GetComponent(BuildComponentType.ConfigCache); 446config.ResultsNodeId = _componentHost.BuildParameters.NodeId; 504ErrorUtilities.VerifyThrow(_componentHost != null, "No host object set"); 512IConfigCache globalConfigurations = (IConfigCache)_componentHost.GetComponent(BuildComponentType.ConfigCache); 522IResultsCache resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.ResultsCache); 545skippedResultsDoNotCauseCacheMiss: _componentHost.BuildParameters.SkippedResultsDoNotCauseCacheMiss()); 594ErrorUtilities.VerifyThrow(_componentHost == null, "BuildRequestEngine already initialized!"); 878_componentHost.GetComponent(BuildComponentType.ResultsCache) as IResultsCache; 915ErrorUtilities.VerifyThrow(_componentHost != null, "No host object set"); 944IRequestBuilder builder = (IRequestBuilder)_componentHost.GetComponent(BuildComponentType.RequestBuilder); 1115ErrorUtilities.VerifyThrow(_componentHost != null, "No host object set"); 1121IConfigCache globalConfigCache = (IConfigCache)_componentHost.GetComponent(BuildComponentType.ConfigCache); 1211IResultsCache resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.ResultsCache); 1217skippedResultsDoNotCauseCacheMiss: _componentHost.BuildParameters.SkippedResultsDoNotCauseCacheMiss());