2 writes to ResultsByNode
Microsoft.Build (2)
Graph\GraphBuildResult.cs (2)
22
ResultsByNode
= resultsByNode;
34
ResultsByNode
= ImmutableDictionary<ProjectGraphNode, BuildResult>.Empty;
16 references to ResultsByNode
Microsoft.Build (2)
Graph\GraphBuildResult.cs (2)
64
foreach (KeyValuePair<ProjectGraphNode, BuildResult> result in
ResultsByNode
)
87
public BuildResult this[ProjectGraphNode node] =>
ResultsByNode
[node];
Microsoft.Build.Engine.UnitTests (13)
BackEnd\BuildManager_Tests.cs (8)
4212
result.
ResultsByNode
.ContainsKey(node1).ShouldBeTrue();
4213
result.
ResultsByNode
[node1].OverallResult.ShouldBe(BuildResultCode.Success);
4216
result.
ResultsByNode
.ContainsKey(node2).ShouldBeTrue();
4217
result.
ResultsByNode
[node2].OverallResult.ShouldBe(BuildResultCode.Success);
4297
result.
ResultsByNode
.ContainsKey(node1).ShouldBeTrue();
4298
result.
ResultsByNode
[node1].OverallResult.ShouldBe(BuildResultCode.Failure);
4301
result.
ResultsByNode
.ContainsKey(node2).ShouldBeTrue();
4302
result.
ResultsByNode
[node2].OverallResult.ShouldBe(BuildResultCode.Failure);
ProjectCache\ProjectCacheTests.cs (5)
476
AssertCacheBuild(graph, testData, mockCache, logger, graphResult.
ResultsByNode
, targets: "Build");
934
AssertCacheBuild(graph, testData, null, logger, graphResult.
ResultsByNode
, targets: "Build");
958
AssertCacheBuild(graph, testData, null, logger, graphResult.
ResultsByNode
, targets: "Build");
1009
graphResult.
ResultsByNode
.First(r => GetProjectNumber(r.Key) == 2).Value.ShouldHaveSucceeded();
1010
graphResult.
ResultsByNode
.First(r => GetProjectNumber(r.Key) == 1).Value.ShouldHaveFailed();
MSBuild (1)
XMake.cs (1)
1619
result = graphResult.
ResultsByNode
.Single(