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