Table of Contents

Class ForeachAnnotation

Namespace
ICSharpCode.Decompiler.CSharp
Assembly
ICSharpCode.Decompiler.dll

Annotates a ForeachStatement with the instructions for the GetEnumerator, MoveNext and get_Current calls.

public class ForeachAnnotation
Inheritance
ForeachAnnotation
Inherited Members

Constructors

ForeachAnnotation(ILInstruction, ILInstruction, ILInstruction)

public ForeachAnnotation(ILInstruction getEnumeratorCall, ILInstruction moveNextCall, ILInstruction getCurrentCall)

Parameters

getEnumeratorCall ILInstruction
moveNextCall ILInstruction
getCurrentCall ILInstruction

Fields

GetCurrentCall

public readonly ILInstruction GetCurrentCall

Field Value

ILInstruction

GetEnumeratorCall

public readonly ILInstruction GetEnumeratorCall

Field Value

ILInstruction

MoveNextCall

public readonly ILInstruction MoveNextCall

Field Value

ILInstruction