55 references to DependencyAnalysisResult
Microsoft.Build (47)
BackEnd\Components\RequestBuilder\TargetEntry.cs (14)
482
DependencyAnalysisResult
dependencyResult = dependencyAnalyzer.PerformDependencyAnalysis(bucket, _host.BuildParameters.Question, out changedTargetInputs, out upToDateTargetInputs);
488
case
DependencyAnalysisResult
.FullBuild:
489
case
DependencyAnalysisResult
.IncrementalBuild:
490
case
DependencyAnalysisResult
.SkipUpToDate:
491
if (dependencyResult !=
DependencyAnalysisResult
.SkipUpToDate && _host.BuildParameters.Question && !string.IsNullOrEmpty(_target.Inputs) && !string.IsNullOrEmpty(_target.Outputs))
509
if (dependencyResult ==
DependencyAnalysisResult
.IncrementalBuild)
533
if (dependencyResult !=
DependencyAnalysisResult
.SkipUpToDate)
559
case
DependencyAnalysisResult
.SkipNoInputs:
560
case
DependencyAnalysisResult
.SkipNoOutputs:
869
private TaskExecutionMode GetTaskExecutionMode(
DependencyAnalysisResult
analysis)
872
if ((analysis ==
DependencyAnalysisResult
.SkipUpToDate) ||
873
(analysis ==
DependencyAnalysisResult
.IncrementalBuild))
883
if ((analysis ==
DependencyAnalysisResult
.FullBuild) ||
884
(analysis ==
DependencyAnalysisResult
.IncrementalBuild))
BackEnd\Components\RequestBuilder\TargetUpToDateChecker.cs (33)
131
internal
DependencyAnalysisResult
PerformDependencyAnalysis(
145
DependencyAnalysisResult
result =
DependencyAnalysisResult
.SkipUpToDate;
153
result =
DependencyAnalysisResult
.FullBuild;
211
if (result !=
DependencyAnalysisResult
.FullBuild)
235
if (result ==
DependencyAnalysisResult
.SkipUpToDate)
267
private void LogReasonForBuildingTarget(
DependencyAnalysisResult
result, bool question)
272
if (result ==
DependencyAnalysisResult
.FullBuild && _dependencyAnalysisDetail.Count > 0)
290
else if (result ==
DependencyAnalysisResult
.IncrementalBuild)
448
private
DependencyAnalysisResult
PerformDependencyAnalysisIfNoInputs()
450
DependencyAnalysisResult
result;
462
result =
DependencyAnalysisResult
.SkipNoInputs;
471
result =
DependencyAnalysisResult
.FullBuild;
481
private
DependencyAnalysisResult
PerformDependencyAnalysisIfNoOutputs()
483
DependencyAnalysisResult
result =
DependencyAnalysisResult
.SkipNoOutputs;
491
result =
DependencyAnalysisResult
.FullBuild;
515
private
DependencyAnalysisResult
PerformDependencyAnalysisIfDiscreteInputs(
522
DependencyAnalysisResult
result =
DependencyAnalysisResult
.SkipUpToDate;
568
result =
DependencyAnalysisResult
.FullBuild;
588
private
DependencyAnalysisResult
PerformDependencyAnalysisIfCorrelatedInputsOutputs(
595
DependencyAnalysisResult
result =
DependencyAnalysisResult
.SkipUpToDate;
651
result =
DependencyAnalysisResult
.IncrementalBuild;
666
result =
DependencyAnalysisResult
.IncrementalBuild;
671
result =
DependencyAnalysisResult
.SkipUpToDate;
719
ErrorUtilities.VerifyThrow(result ==
DependencyAnalysisResult
.IncrementalBuild,
723
result =
DependencyAnalysisResult
.FullBuild;
737
private
DependencyAnalysisResult
PerformDependencyAnalysisIfDiscreteOutputs(
763
DependencyAnalysisResult
result;
767
result =
DependencyAnalysisResult
.FullBuild;
772
result =
DependencyAnalysisResult
.SkipUpToDate;
Microsoft.Build.Engine.UnitTests (8)
BackEnd\TargetUpToDateChecker_Tests.cs (8)
189
DependencyAnalysisResult
result = PerformDependencyAnalysisTestHelper(filesToAnalyze, itemsByName, inputs, outputs);
191
Assert.Equal(
DependencyAnalysisResult
.IncrementalBuild, result); // "Should only build partially."
232
DependencyAnalysisResult
result = PerformDependencyAnalysisTestHelper(filesToAnalyze, itemsByName, inputs, outputs);
234
Assert.Equal(
DependencyAnalysisResult
.IncrementalBuild, result); // "Should only build partially."
284
DependencyAnalysisResult
result = PerformDependencyAnalysisTestHelper(filesToAnalyze, itemsByName, inputs, outputs, out changedTargetInputs, out upToDateTargetInputs);
291
Assert.Equal(
DependencyAnalysisResult
.IncrementalBuild, result); // "Should only build partially."
555
private
DependencyAnalysisResult
PerformDependencyAnalysisTestHelper(
566
private
DependencyAnalysisResult
PerformDependencyAnalysisTestHelper(