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
ILInstructionmoveNextCall
ILInstructiongetCurrentCall
ILInstruction
Fields
GetCurrentCall
public readonly ILInstruction GetCurrentCall
Field Value
GetEnumeratorCall
public readonly ILInstruction GetEnumeratorCall
Field Value
MoveNextCall
public readonly ILInstruction MoveNextCall