Implemented interface member:
method
HasResultsForTarget
Microsoft.Build.BackEnd.IBuildResults.HasResultsForTarget(System.String)
53 references to HasResultsForTarget
Microsoft.Build (6)
BackEnd\Components\Caching\ResultsCache.cs (2)
123
ErrorUtilities.VerifyThrow(result.
HasResultsForTarget
(target), "No results in cache for target " + target);
320
if (!result.
HasResultsForTarget
(target) || (result[target].ResultCode == TargetResultCode.Skipped && !skippedResultsAreOK))
BackEnd\Components\RequestBuilder\TargetBuilder.cs (2)
549
if (_buildResult.
HasResultsForTarget
(currentTargetEntry.Name))
668
if (_buildResult.
HasResultsForTarget
(targetSpecification.TargetName))
BackEnd\Components\Scheduler\Scheduler.cs (2)
1639
if (blocker.PartialBuildResult.
HasResultsForTarget
(blockingRequest.BlockingTarget))
2073
!requestResults.
HasResultsForTarget
(target))
Microsoft.Build.Engine.UnitTests (47)
BackEnd\BuildManager_Tests.cs (10)
1783
Assert.True(result1.
HasResultsForTarget
("target1")); // "Results for target1 missing"
1785
Assert.True(result2.
HasResultsForTarget
("target2")); // "Results for target2 missing"
1818
Assert.True(result1.
HasResultsForTarget
("target1")); // "Results for target1 missing"
1820
Assert.True(result2.
HasResultsForTarget
("target2")); // "Results for target2 missing"
1852
Assert.True(result1.
HasResultsForTarget
("target1")); // "Results for target1 missing"
1854
Assert.True(result2.
HasResultsForTarget
("target1")); // "Results for target1 (second call) missing"
3418
Assert.True(result1.
HasResultsForTarget
("target1"));
3448
Assert.True(result1.
HasResultsForTarget
("target1"));
3479
Assert.True(buildResult.
HasResultsForTarget
("target1"));
3480
Assert.True(buildResult.
HasResultsForTarget
("target2"));
BackEnd\BuildResult_Tests.cs (2)
250
Assert.True(result.
HasResultsForTarget
("foo"));
251
Assert.False(result.
HasResultsForTarget
("bar"));
BackEnd\CacheSerialization_Tests.cs (3)
140
Assert.True(buildResult.
HasResultsForTarget
("target1"));
141
Assert.True(buildResult.
HasResultsForTarget
("target2"));
142
Assert.False(buildResult.
HasResultsForTarget
("target3"));
BackEnd\ResultsCache_Tests.cs (8)
61
Assert.True(retrievedResult.
HasResultsForTarget
("testTarget"));
62
Assert.True(retrievedResult.
HasResultsForTarget
("otherTarget"));
87
Assert.True(results[0].
HasResultsForTarget
("result1target1"));
88
Assert.True(results[0].
HasResultsForTarget
("result1target2"));
89
Assert.True(results[1].
HasResultsForTarget
("result2target1"));
191
Assert.False(response.Results.
HasResultsForTarget
("testTarget"));
518
if (!a.
HasResultsForTarget
(target) || !b.
HasResultsForTarget
(target))
BackEnd\TargetBuilder_Tests.cs (24)
108
Assert.True(result.
HasResultsForTarget
("Empty"));
130
Assert.True(result.
HasResultsForTarget
("Baz"));
131
Assert.False(result.
HasResultsForTarget
("Bar"));
136
Assert.True(resultsCache.GetResultForRequest(entry.Request).
HasResultsForTarget
("Bar"));
154
Assert.True(result.
HasResultsForTarget
("DepSkip"));
155
Assert.False(result.
HasResultsForTarget
("Skip"));
159
Assert.True(resultsCache.GetResultForRequest(entry.Request).
HasResultsForTarget
("SkipCondition"));
183
Assert.True(result.
HasResultsForTarget
("DepError"));
184
Assert.False(result.
HasResultsForTarget
("Foo"));
185
Assert.False(result.
HasResultsForTarget
("Skip"));
186
Assert.False(result.
HasResultsForTarget
("Error"));
187
Assert.False(result.
HasResultsForTarget
("Baz2"));
188
Assert.False(result.
HasResultsForTarget
("Bar"));
189
Assert.False(result.
HasResultsForTarget
("Baz"));
193
Assert.True(resultsCache.GetResultForRequest(entry.Request).
HasResultsForTarget
("Foo"));
194
Assert.True(resultsCache.GetResultForRequest(entry.Request).
HasResultsForTarget
("Skip"));
195
Assert.True(resultsCache.GetResultForRequest(entry.Request).
HasResultsForTarget
("Error"));
196
Assert.False(resultsCache.GetResultForRequest(entry.Request).
HasResultsForTarget
("Baz2"));
197
Assert.True(resultsCache.GetResultForRequest(entry.Request).
HasResultsForTarget
("Bar"));
198
Assert.True(resultsCache.GetResultForRequest(entry.Request).
HasResultsForTarget
("Baz"));
1436
Assert.True(resultsCache.GetResultForRequest(entry.Request).
HasResultsForTarget
("Build"));
1437
Assert.True(resultsCache.GetResultForRequest(entry.Request).
HasResultsForTarget
("ProduceError1"));
1438
Assert.False(resultsCache.GetResultForRequest(entry.Request).
HasResultsForTarget
("ProduceError2"));
1439
Assert.True(resultsCache.GetResultForRequest(entry.Request).
HasResultsForTarget
("_Error1"));