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