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