2 writes to _buildParameters
Microsoft.Build (2)
BackEnd\BuildManager\BuildManager.cs (2)
535
_buildParameters
= parameters?.Clone() ?? new BuildParameters();
2900
_buildParameters
??= new BuildParameters();
61 references to _buildParameters
Microsoft.Build (61)
BackEnd\BuildManager\BuildManager.cs (61)
385
BuildParameters? IBuildComponentHost.BuildParameters =>
_buildParameters
;
538
_buildParameters
.BuildId = GetNextBuildId();
540
if (
_buildParameters
.UsesCachedResults() &&
_buildParameters
.ProjectIsolationMode == ProjectIsolationMode.False)
547
_buildParameters
.ProjectIsolationMode = ProjectIsolationMode.True;
550
if (
_buildParameters
.UsesOutputCache() && string.IsNullOrWhiteSpace(
_buildParameters
.OutputResultsCacheFile))
552
_buildParameters
.OutputResultsCacheFile = FileUtilities.NormalizePath("msbuild-cache");
571
if (
_buildParameters
.IsBuildCheckEnabled)
592
_buildParameters
.ProjectCacheDescriptor);
628
AppendDebuggingLoggers(
_buildParameters
.Loggers),
629
_buildParameters
.ForwardingLoggers,
630
_buildParameters
.WarningsAsErrors,
631
_buildParameters
.WarningsNotAsErrors,
632
_buildParameters
.WarningsAsMessages);
640
if (
_buildParameters
.UsesInputCaches())
642
loggingService.LogComment(BuildEventContext.Invalid, MessageImportance.Normal, "UsingInputCaches", string.Join(";",
_buildParameters
.InputResultsCacheFiles));
645
if (
_buildParameters
.UsesOutputCache())
647
loggingService.LogComment(BuildEventContext.Invalid, MessageImportance.Normal, "WritingToOutputCache",
_buildParameters
.OutputResultsCacheFile);
679
var usesInputCaches =
_buildParameters
.UsesInputCaches();
683
ReuseOldCaches(
_buildParameters
.InputResultsCacheFiles);
689
if (!usesInputCaches && (
_buildParameters
.ResetCaches || _configCache!.IsConfigCacheSizeLargerThanThreshold()))
713
_buildParameters
.ProjectRootElementCache.DiscardImplicitReferences();
782
var parentThreadCulture =
_buildParameters
!= null
783
?
_buildParameters
.Culture
785
var parentThreadUICulture =
_buildParameters
!= null
786
?
_buildParameters
.UICulture
849
_buildParameters
?.ProjectRootElementCache.DiscardImplicitReferences();
907
_buildParameters
!.LegacyThreadingSemantics);
990
if (
_buildParameters
!.UsesOutputCache())
1022
if (
_buildParameters
.DiscardBuildResults)
1078
_buildTelemetry.BuildCheckEnabled =
_buildParameters
!.IsBuildCheckEnabled;
1093
if (
_buildParameters
!.LegacyThreadingSemantics)
1117
_buildParameters
.OutputResultsCacheFile,
1118
_buildParameters
.ProjectIsolationMode);
1261
_buildParameters
!.ProjectRootElementCache == projectInstance.ProjectRootElementCache,
1266
_buildParameters
!.ProjectRootElementCache = projectInstance.ProjectRootElementCache;
1270
else if (
_buildParameters
!.ProjectRootElementCache == null)
1274
_buildParameters
!.ProjectRootElementCache =
1301
var buildRequestConfiguration = new BuildRequestConfiguration(submission.BuildRequestData,
_buildParameters
.DefaultToolsVersion);
1490
_buildParameters
,
1558
if (!Equals(CultureInfo.CurrentCulture,
_buildParameters
!.Culture))
1560
CultureInfo.CurrentCulture =
_buildParameters
.Culture;
1563
if (!Equals(CultureInfo.CurrentUICulture,
_buildParameters
.UICulture))
1565
CultureInfo.CurrentUICulture =
_buildParameters
.UICulture;
1834
if (allowMainThreadBuild &&
_buildParameters
!.LegacyThreadingSemantics)
1907
ProjectLoadSettings projectLoadSettings =
_buildParameters
!.ProjectLoadSettings;
1922
_buildParameters
,
1926
_buildParameters
.NodeId,
2094
_nodeManager?.ShutdownConnectedNodes(!abort &&
_buildParameters
!.EnableNodeReuse);
2101
_taskHostNodeManager?.ShutdownConnectedNodes(
_buildParameters
!.EnableNodeReuse);
2189
_buildParameters
?.ProjectRootElementCache.Clear();
2508
_nodeManager!.ShutdownConnectedNodes(
_buildParameters
!.EnableNodeReuse);
2509
_taskHostNodeManager!.ShutdownConnectedNodes(
_buildParameters
.EnableNodeReuse);
2629
if (
_buildParameters
!.DetailedSummary)
2754
_buildParameters
?.ProjectRootElementCache?.Clear();
2781
_buildParameters
,
2902
_buildParameters
.IsBuildCheckEnabled = true;
2917
int cpuCount =
_buildParameters
!.MaxNodeCount;
2919
LoggerMode loggerMode = cpuCount == 1 &&
_buildParameters
.UseSynchronousLogging
2937
if (
_buildParameters
.IsBuildCheckEnabled)