Implemented interface member:
property
this
Microsoft.Build.BackEnd.IBuildResults.this[System.String]
37 references to
Microsoft.Build (6)
BackEnd\Components\Caching\ResultsCache.cs (2)
320if (!result.HasResultsForTarget(target) || (result[target].ResultCode == TargetResultCode.Skipped && !skippedResultsAreOK)) 336if (result[target].ResultCode == TargetResultCode.Failure && (targetsMissingResults == null || targetsMissingResults.Count == 0))
BackEnd\Components\Logging\NodeLoggingContext.cs (1)
102var targetResult = result[target.name];
BackEnd\Components\RequestBuilder\TargetBuilder.cs (3)
285results[i] = _buildResult[targets[i]]; 551TargetResult targetResult = _buildResult[currentTargetEntry.Name] as TargetResult; 670if (_buildResult[targetSpecification.TargetName].ResultCode != TargetResultCode.Skipped)
Microsoft.Build.Engine.UnitTests (29)
BackEnd\BuildResult_Tests.cs (21)
130Assert.Equal(TargetResultCode.Success, result["foo"].ResultCode); 131Assert.Equal(TargetResultCode.Failure, result["bar"].ResultCode); 141ITargetResult targetResult = result["foo"]; 153ITargetResult targetResult = result["bar"]; 200Assert.Equal(TargetResultCode.Success, result["foo"].ResultCode); 201Assert.Equal(TargetResultCode.Failure, result["bar"].ResultCode); 209Assert.Equal(TargetResultCode.Success, result["foo"].ResultCode); 210Assert.Equal(TargetResultCode.Failure, result["bar"].ResultCode); 211Assert.Equal(TargetResultCode.Success, result["xor"].ResultCode); 339Assert.Equal(result["alpha"].ResultCode, deserializedResult["alpha"].ResultCode); 340Assert.True(TranslationHelpers.CompareExceptions(result["alpha"].Exception, deserializedResult["alpha"].Exception, out diffReason), diffReason); 341Assert.True(TranslationHelpers.CompareCollections(result["alpha"].Items, deserializedResult["alpha"].Items, TaskItemComparer.Instance)); 342Assert.Equal(result["omega"].ResultCode, deserializedResult["omega"].ResultCode); 343Assert.True(TranslationHelpers.CompareExceptions(result["omega"].Exception, deserializedResult["omega"].Exception, out diffReason), diffReason); 344Assert.True(TranslationHelpers.CompareCollections(result["omega"].Items, deserializedResult["omega"].Items, TaskItemComparer.Instance));
BackEnd\ResultsCache_Tests.cs (4)
523if (a[target].ResultCode != b[target].ResultCode) 528if (!AreItemsIdentical(a[target].Items, b[target].Items))
BackEnd\TargetBuilder_Tests.cs (4)
109Assert.Equal(TargetResultCode.Success, result["Empty"].ResultCode); 110Assert.Empty(result["Empty"].Items); 132Assert.Equal(TargetResultCode.Success, result["Baz"].ResultCode); 156Assert.Equal(TargetResultCode.Success, result["DepSkip"].ResultCode);
Microsoft.Build.UnitTests.Shared (2)
ObjectModelHelpers.cs (2)
1517buildResult[targetName].ResultCode.ShouldBe(TargetResultCode.Failure); 1541buildResult[targetName].ResultCode.ShouldBe(TargetResultCode.Success);