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