2 writes to Result
Microsoft.Build (2)
BackEnd\Components\BuildRequestEngine\BuildRequestEntry.cs (2)
133Result = null; 488Result = result;
19 references to Result
Microsoft.Build (6)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (5)
273BuildResult result = entry.Result ?? new BuildResult(entry.Request, new BuildAbortedException()); 817completedEntry.Result.DefaultTargets = configuration.ProjectDefaultTargets; 818completedEntry.Result.InitialTargets = configuration.ProjectInitialTargets; 819completedEntry.Result.ProjectTargets = configuration.ProjectTargets; 823RaiseRequestComplete(completedEntry.Request, completedEntry.Result);
BackEnd\Components\BuildRequestEngine\BuildRequestEntry.cs (1)
475ErrorUtilities.VerifyThrow(Result == null, "Entry already Completed.");
Microsoft.Build.Engine.UnitTests (13)
BackEnd\BuildRequestEntry_Tests.cs (7)
49Assert.Null(entry.Result); 54Assert.Null(entry.Result); 62Assert.Null(entry.Result); 70Assert.Null(entry.Result); 75Assert.Null(entry.Result); 85Assert.NotNull(entry.Result); 86Assert.Equal(entry.Result, result);
BackEnd\RequestBuilder_Tests.cs (6)
99Assert.Equal(BuildResultCode.Success, _buildRequestCompleted_Entry.Result.OverallResult); 132Assert.Equal(BuildResultCode.Failure, _buildRequestCompleted_Entry.Result.OverallResult); 171Assert.Equal(BuildResultCode.Success, _buildRequestCompleted_Entry.Result.OverallResult); 213Assert.Equal(BuildResultCode.Failure, _buildRequestCompleted_Entry.Result.OverallResult); 235Assert.Equal(BuildResultCode.Failure, _buildRequestCompleted_Entry.Result.OverallResult); 236Assert.Equal(typeof(InvalidProjectFileException), _buildRequestCompleted_Entry.Result.Exception.GetType());