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