4 instantiations of CircularDependencyException
Microsoft.Build (4)
BackEnd\Components\Communications\SerializationContractInitializer.cs (1)
29new(typeof(CircularDependencyException), (msg, inner) => new CircularDependencyException(msg, inner)),
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
1027throw new CircularDependencyException();
Graph\GraphBuilder.cs (2)
481throw new CircularDependencyException( 506throw new CircularDependencyException(
12 references to CircularDependencyException
Microsoft.Build (7)
BackEnd\BuildManager\BuildManager.cs (1)
1751if (ex is CircularDependencyException)
BackEnd\Components\Communications\SerializationContractInitializer.cs (1)
29new(typeof(CircularDependencyException), (msg, inner) => new CircularDependencyException(msg, inner)),
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
876else if (type == typeof(CircularDependencyException))
Graph\GraphBuildResult.cs (1)
45public 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)
93Should.Throw<CircularDependencyException>(() => new ProjectGraph(entryProject.Path)); 310Should.Throw<CircularDependencyException>(() => new ProjectGraph(entryProject.Path)).Message.ShouldContain(expectedErrorMessage); 322Should.Throw<CircularDependencyException>(() => new ProjectGraph(entryProject.Path)); 344Should.Throw<CircularDependencyException>(() => new ProjectGraph(entryProject.Path)).Message.ShouldContain(errorMessage);
MSBuild (1)
XMake.cs (1)
1643&& exception is not CircularDependencyException)