CallGraph.GetCallCycles Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Finds and returns a list of all cycles in the call graph, each one being represented by an array of nodes. To get the edges between the nodes of a given cycle, use the GetDirectDependencies method.
public System.Collections.Immutable.ImmutableArray<System.Collections.Immutable.ImmutableArray<Microsoft.Quantum.QsCompiler.DependencyAnalysis.CallGraphNode>> GetCallCycles ();
member this.GetCallCycles : unit -> System.Collections.Immutable.ImmutableArray<System.Collections.Immutable.ImmutableArray<Microsoft.Quantum.QsCompiler.DependencyAnalysis.CallGraphNode>>
Public Function GetCallCycles () As ImmutableArray(Of ImmutableArray(Of CallGraphNode))