2 writes to _buildParameters
Microsoft.Build (2)
BackEnd\BuildManager\BuildManager.cs (2)
534_buildParameters = parameters?.Clone() ?? new BuildParameters(); 2885_buildParameters ??= new BuildParameters();
66 references to _buildParameters
Microsoft.Build (66)
BackEnd\BuildManager\BuildManager.cs (66)
384BuildParameters? IBuildComponentHost.BuildParameters => _buildParameters; 537_buildParameters.BuildId = GetNextBuildId(); 539if (_buildParameters.UsesCachedResults() && _buildParameters.ProjectIsolationMode == ProjectIsolationMode.False) 546_buildParameters.ProjectIsolationMode = ProjectIsolationMode.True; 549if (_buildParameters.UsesOutputCache() && string.IsNullOrWhiteSpace(_buildParameters.OutputResultsCacheFile)) 551_buildParameters.OutputResultsCacheFile = FileUtilities.NormalizePath("msbuild-cache"); 555if (_buildParameters.ReportFileAccesses) 570if (_buildParameters.IsBuildCheckEnabled) 591_buildParameters.ProjectCacheDescriptor); 627AppendDebuggingLoggers(_buildParameters.Loggers), 628_buildParameters.ForwardingLoggers, 629_buildParameters.WarningsAsErrors, 630_buildParameters.WarningsNotAsErrors, 631_buildParameters.WarningsAsMessages); 639if (_buildParameters.UsesInputCaches()) 641loggingService.LogComment(BuildEventContext.Invalid, MessageImportance.Normal, "UsingInputCaches", string.Join(";", _buildParameters.InputResultsCacheFiles)); 644if (_buildParameters.UsesOutputCache()) 646loggingService.LogComment(BuildEventContext.Invalid, MessageImportance.Normal, "WritingToOutputCache", _buildParameters.OutputResultsCacheFile); 678var usesInputCaches = _buildParameters.UsesInputCaches(); 682ReuseOldCaches(_buildParameters.InputResultsCacheFiles); 688if (!usesInputCaches && (_buildParameters.ResetCaches || _configCache!.IsConfigCacheSizeLargerThanThreshold())) 712_buildParameters.ProjectRootElementCache.DiscardImplicitReferences(); 731_buildParameters!.DisableInProcNode = true; 734_buildParameters.EnableNodeReuse = false; 781var parentThreadCulture = _buildParameters != null 782? _buildParameters.Culture 784var parentThreadUICulture = _buildParameters != null 785? _buildParameters.UICulture 839_buildParameters?.ProjectRootElementCache.DiscardImplicitReferences(); 897_buildParameters!.LegacyThreadingSemantics); 980if (_buildParameters!.UsesOutputCache()) 1012if (_buildParameters.DiscardBuildResults) 1068_buildTelemetry.BuildCheckEnabled = _buildParameters!.IsBuildCheckEnabled; 1083if (_buildParameters!.LegacyThreadingSemantics) 1107_buildParameters.OutputResultsCacheFile, 1108_buildParameters.ProjectIsolationMode); 1251_buildParameters!.ProjectRootElementCache == projectInstance.ProjectRootElementCache, 1256_buildParameters!.ProjectRootElementCache = projectInstance.ProjectRootElementCache; 1260else if (_buildParameters!.ProjectRootElementCache == null) 1264_buildParameters!.ProjectRootElementCache = 1291var buildRequestConfiguration = new BuildRequestConfiguration(submission.BuildRequestData, _buildParameters.DefaultToolsVersion); 1480_buildParameters, 1548if (!Equals(CultureInfo.CurrentCulture, _buildParameters!.Culture)) 1550CultureInfo.CurrentCulture = _buildParameters.Culture; 1553if (!Equals(CultureInfo.CurrentUICulture, _buildParameters.UICulture)) 1555CultureInfo.CurrentUICulture = _buildParameters.UICulture; 1824if (allowMainThreadBuild && _buildParameters!.LegacyThreadingSemantics) 1897ProjectLoadSettings projectLoadSettings = _buildParameters!.ProjectLoadSettings; 1912_buildParameters, 1916_buildParameters.NodeId, 2079_nodeManager?.ShutdownConnectedNodes(!abort && _buildParameters!.EnableNodeReuse); 2086_taskHostNodeManager?.ShutdownConnectedNodes(_buildParameters!.EnableNodeReuse); 2174_buildParameters?.ProjectRootElementCache.Clear(); 2493_nodeManager!.ShutdownConnectedNodes(_buildParameters!.EnableNodeReuse); 2494_taskHostNodeManager!.ShutdownConnectedNodes(_buildParameters.EnableNodeReuse); 2525if (_buildParameters!.ReportFileAccesses) 2540if (_buildParameters!.ReportFileAccesses) 2614if (_buildParameters!.DetailedSummary) 2739_buildParameters?.ProjectRootElementCache?.Clear(); 2766_buildParameters, 2887_buildParameters.IsBuildCheckEnabled = true; 2902int cpuCount = _buildParameters!.MaxNodeCount; 2904LoggerMode loggerMode = cpuCount == 1 && _buildParameters.UseSynchronousLogging 2922if (_buildParameters.IsBuildCheckEnabled)