C# Class ICSharpCode.Decompiler.ILAst.LoopsAndConditions

Description of LoopsAndConditions.
Show file Open project: sq/ILSpy-JSIL

Public Methods

Method Description
FindConditions ( ILBlock block ) : void
FindLoops ( ILBlock block ) : void
LoopsAndConditions ( DecompilerContext context ) : System

Private Methods

Method Description
AnointDefaultSwitchCases ( ILSwitch swtch ) : void

Responsible for detecting switch cases with values that are actually also the default case

BuildGraph ( List nodes, ILLabel entryLabel ) : ICSharpCode.Decompiler.FlowAnalysis.ControlFlowGraph
FindConditions ( HashSet scope, ICSharpCode.Decompiler.FlowAnalysis.ControlFlowNode entryNode ) : List
FindDominatedNodes ( HashSet scope, ICSharpCode.Decompiler.FlowAnalysis.ControlFlowNode head ) : HashSet
FindLoopContent ( HashSet scope, ICSharpCode.Decompiler.FlowAnalysis.ControlFlowNode head ) : HashSet
FindLoops ( HashSet scope, ICSharpCode.Decompiler.FlowAnalysis.ControlFlowNode entryPoint, bool excludeEntryPoint ) : List
HasSingleEdgeEnteringBlock ( ICSharpCode.Decompiler.FlowAnalysis.ControlFlowNode node ) : bool

Method Details

FindConditions() public method

public FindConditions ( ILBlock block ) : void
block ILBlock
return void

FindLoops() public method

public FindLoops ( ILBlock block ) : void
block ILBlock
return void

LoopsAndConditions() public method

public LoopsAndConditions ( DecompilerContext context ) : System
context DecompilerContext
return System