Base:
property
Exception
Microsoft.Build.Execution.BuildResultBase.Exception
1 write to Exception
Microsoft.Build (1)
Graph\GraphBuildResult.cs (1)
33Exception = exception;
10 references to Exception
Microsoft.Build (3)
BackEnd\BuildManager\BuildManager.cs (1)
1961submission.BuildResult?.Exception == null,
Graph\GraphBuildResult.cs (2)
45public override bool CircularDependency => Exception is CircularDependencyException; 59if (Exception != null)
Microsoft.Build.Engine.UnitTests (4)
BackEnd\BuildManager_Tests.cs (1)
4256AggregateException aggException = result.Exception.ShouldBeOfType<AggregateException>();
ProjectCache\ProjectCacheTests.cs (3)
1275buildResult.Exception.ShouldBeOfType<ProjectCacheException>(); 1279buildResult.Exception.InnerException!.ShouldNotBeNull(); 1280buildResult.Exception.InnerException!.Message.ShouldContain("Cache plugin exception from");
Microsoft.Build.UnitTests.Shared (3)
ObjectModelHelpers.cs (3)
173customMessage: result.Exception is not null ? result.Exception.ToString() : string.Empty); 192result.Exception.Message.ShouldContain(exceptionMessageSubstring);