47 references to ProjectIsolationMode
Microsoft.Build (24)
BackEnd\BuildManager\BuildManager.cs (2)
539
if (_buildParameters.UsesCachedResults() && _buildParameters.ProjectIsolationMode ==
ProjectIsolationMode
.False)
546
_buildParameters.ProjectIsolationMode =
ProjectIsolationMode
.True;
BackEnd\BuildManager\BuildParameters.cs (10)
221
private
ProjectIsolationMode
_projectIsolationMode;
781
get => ProjectIsolationMode ==
ProjectIsolationMode
.True;
782
set => ProjectIsolationMode = value ?
ProjectIsolationMode
.True :
ProjectIsolationMode
.False;
788
public
ProjectIsolationMode
ProjectIsolationMode { get => _projectIsolationMode; set => _projectIsolationMode = value; }
792
/// If the isolation mode is set to <see cref="
ProjectIsolationMode
.False"/>,
793
/// this sets the isolation mode to <see cref="
ProjectIsolationMode
.True"/>.
803
/// If the isolation mode is set to <see cref="
ProjectIsolationMode
.False"/>,
804
/// this sets the isolation mode to <see cref="
ProjectIsolationMode
.True"/>.
881
internal bool SkippedResultsDoNotCauseCacheMiss() => ProjectIsolationMode ==
ProjectIsolationMode
.True;
BackEnd\BuildManager\CacheSerialization.cs (2)
20
ProjectIsolationMode
projectIsolationMode)
90
if (projectIsolationMode ==
ProjectIsolationMode
.MessageUponIsolationViolation)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (3)
368
ProjectIsolationMode
isolateProjects = _componentHost.BuildParameters.ProjectIsolationMode;
369
bool skipStaticGraphIsolationConstraints = (isolateProjects !=
ProjectIsolationMode
.False && _requestEntry.RequestConfiguration.ShouldSkipIsolationConstraintsForReference(config.ProjectFullPath))
370
|| isolateProjects ==
ProjectIsolationMode
.MessageUponIsolationViolation;
BackEnd\Components\RequestBuilder\TaskBuilder.cs (3)
1022
ProjectIsolationMode
isolateProjects = _componentHost.BuildParameters.ProjectIsolationMode;
1023
if (isolateProjects ==
ProjectIsolationMode
.False || isolateProjects ==
ProjectIsolationMode
.MessageUponIsolationViolation)
BackEnd\Components\Scheduler\Scheduler.cs (4)
1965
ProjectIsolationMode
isolateProjects = _componentHost.BuildParameters.ProjectIsolationMode;
1969
if (isolateProjects ==
ProjectIsolationMode
.False || request.IsRootRequest || request.SkipStaticGraphIsolationConstraints
1972
bool logComment = ((isolateProjects ==
ProjectIsolationMode
.True || isolateProjects ==
ProjectIsolationMode
.MessageUponIsolationViolation) && request.SkipStaticGraphIsolationConstraints);
Microsoft.Build.CommandLine.UnitTests (1)
CommandLineSwitches_Tests.cs (1)
1184
isolateProjects:
ProjectIsolationMode
.False,
Microsoft.Build.Engine.UnitTests (11)
BackEnd\CacheSerialization_Tests.cs (2)
103
ProjectIsolationMode
.True));
135
ProjectIsolationMode
.MessageUponIsolationViolation));
Graph\IsolateProjects_Tests.cs (7)
152
ProjectIsolationMode =
ProjectIsolationMode
.True,
243
isolateProjects:
ProjectIsolationMode
.False);
264
isolateProjects:
ProjectIsolationMode
.MessageUponIsolationViolation);
336
projectIsolationMode:
ProjectIsolationMode
.MessageUponIsolationViolation);
512
ProjectIsolationMode
isolateProjects =
ProjectIsolationMode
.True,
599
_buildParametersPrototype.ProjectIsolationMode.ShouldBe(
ProjectIsolationMode
.True);
Graph\ResultCacheBasedBuilds_Tests.cs (2)
433
ProjectIsolationMode
projectIsolationMode =
ProjectIsolationMode
.False)
MSBuild (11)
XMake.cs (11)
724
ProjectIsolationMode
isolateProjects =
ProjectIsolationMode
.False;
1286
ProjectIsolationMode
isolateProjects,
2502
ref
ProjectIsolationMode
isolateProjects,
3089
internal static
ProjectIsolationMode
ProcessIsolateProjectsSwitch(string[] parameters)
3096
return boolValue ?
ProjectIsolationMode
.True :
ProjectIsolationMode
.False;
3099
ProjectIsolationMode
isolateProjects =
ProjectIsolationMode
.True;
3108
if (trimmedParameter.Equals(nameof(
ProjectIsolationMode
.MessageUponIsolationViolation), StringComparison.OrdinalIgnoreCase)
3111
isolateProjects =
ProjectIsolationMode
.MessageUponIsolationViolation;