3 instantiations of GraphBuildResult
Microsoft.Build (3)
BackEnd\BuildManager\BuildManager.cs (2)
1423var result = new GraphBuildResult(submission.SubmissionId, new BuildAbortedException()); 1966new GraphBuildResult(
Graph\GraphBuildSubmission.cs (1)
72=> new(SubmissionId, exception);
39 references to GraphBuildResult
Microsoft.Build (15)
BackEnd\BuildManager\BuildManager.cs (7)
877=> (GraphBuildSubmission)PendBuildRequest<GraphBuildRequestData, GraphBuildResult>(requestData); 929public GraphBuildResult BuildRequest(GraphBuildRequestData requestData) 930=> BuildRequest<GraphBuildRequestData, GraphBuildResult>(requestData); 1154public GraphBuildResult Build(BuildParameters parameters, GraphBuildRequestData requestData) 1155=> Build<GraphBuildRequestData, GraphBuildResult>(parameters, requestData); 1423var result = new GraphBuildResult(submission.SubmissionId, new BuildAbortedException()); 1965ReportResultsToSubmission<GraphBuildRequestData, GraphBuildResult>(
Graph\GraphBuildRequestData.cs (2)
25public sealed class GraphBuildRequestData : BuildRequestData<GraphBuildRequestData, GraphBuildResult> 189internal override BuildSubmissionBase<GraphBuildRequestData, GraphBuildResult> CreateSubmission(BuildManager buildManager, int submissionId, GraphBuildRequestData requestData,
Graph\GraphBuildSubmission.cs (6)
28public class GraphBuildSubmission : BuildSubmissionBase<GraphBuildRequestData, GraphBuildResult> 42void Clb(BuildSubmissionBase<GraphBuildRequestData, GraphBuildResult> submission) 54public override GraphBuildResult Execute() 65protected internal override void CheckResultValidForCompletion(GraphBuildResult result) 71protected internal override GraphBuildResult CreateFailedResult(Exception exception) 84public new GraphBuildResult? BuildResult => base.BuildResult;
Microsoft.Build.Engine.UnitTests (18)
BackEnd\BuildManager_Tests.cs (7)
252GraphBuildResult result = _buildManager.Build(_parameters, data); 4208GraphBuildResult result = _buildManager.Build(_parameters, data); 4253GraphBuildResult result = _buildManager.Build(_parameters, data); 4293GraphBuildResult result = _buildManager.Build(_parameters, data); 4337GraphBuildResult result = _buildManager.Build(_parameters, data); 4360var graphResult = buildSession.BuildGraphSubmission(requestData); 4438GraphBuildResult result = _buildManager.Build(_parameters, data);
BackEnd\BuildOMCompatibility_Tests.cs (1)
99=> VerifyPropertyExists(typeof(GraphBuildResult), propertyName);
ProjectCache\ProjectCacheTests.cs (10)
467GraphBuildResult graphResult; 759GraphBuildResult graphResult; 923GraphBuildResult graphResult; 949GraphBuildResult graphResult; 1000GraphBuildResult graphResult; 1040GraphBuildResult graphResult; 1072GraphBuildResult graphResult; 1255GraphBuildResult? buildResult = null; 1347GraphBuildResult graphResult = buildSession.BuildGraph(new ProjectGraph(project.Path)); 1536GraphBuildResult graphResult;
Microsoft.Build.UnitTests.Shared (4)
ObjectModelHelpers.cs (4)
169public static void ShouldHaveSucceeded(this GraphBuildResult result) 186public static void ShouldHaveFailed(this GraphBuildResult result, string exceptionMessageSubstring = null) 2128public GraphBuildResult BuildGraphSubmission(GraphBuildRequestData requestData) => _buildManager.BuildRequest(requestData); 2130public GraphBuildResult BuildGraph(ProjectGraph graph, string[] entryTargets = null)
MSBuild (2)
XMake.cs (2)
1528GraphBuildResult graphResult = null; 1819private static GraphBuildResult ExecuteGraphBuild(BuildManager buildManager, GraphBuildRequestData request)