4 instantiations of CircularDependencyException
Microsoft.Build (4)
BackEnd\Components\Communications\SerializationContractInitializer.cs (1)
29
new(typeof(CircularDependencyException), (msg, inner) => new
CircularDependencyException
(msg, inner)),
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
1028
throw new
CircularDependencyException
();
Graph\GraphBuilder.cs (2)
481
throw new
CircularDependencyException
(
506
throw new
CircularDependencyException
(
12 references to CircularDependencyException
Microsoft.Build (7)
BackEnd\BuildManager\BuildManager.cs (1)
1699
if (ex is
CircularDependencyException
)
BackEnd\Components\Communications\SerializationContractInitializer.cs (1)
29
new(typeof(
CircularDependencyException
), (msg, inner) => new CircularDependencyException(msg, inner)),
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
874
else if (type == typeof(
CircularDependencyException
))
Graph\GraphBuildResult.cs (1)
45
public override bool CircularDependency => Exception is
CircularDependencyException
;
Graph\ProjectGraph.cs (3)
329
/// <exception cref="
CircularDependencyException
">
369
/// <exception cref="
CircularDependencyException
">
413
/// <exception cref="
CircularDependencyException
">
Microsoft.Build.Engine.UnitTests (4)
Graph\ProjectGraph_Tests.cs (4)
93
Should.Throw<
CircularDependencyException
>(() => new ProjectGraph(entryProject.Path));
310
Should.Throw<
CircularDependencyException
>(() => new ProjectGraph(entryProject.Path)).Message.ShouldContain(expectedErrorMessage);
322
Should.Throw<
CircularDependencyException
>(() => new ProjectGraph(entryProject.Path));
344
Should.Throw<
CircularDependencyException
>(() => new ProjectGraph(entryProject.Path)).Message.ShouldContain(errorMessage);
MSBuild (1)
XMake.cs (1)
1654
&& exception is not
CircularDependencyException
)