CallGraph.GetCallCycles Method

Definition

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))

Returns

ImmutableArray<ImmutableArray<CallGraphNode>>

Applies to