Table of Contents

Struct CilInstructionCollection.Enumerator

Namespace
AsmResolver.DotNet.Code.Cil
Assembly
AsmResolver.DotNet.dll

Represents an enumerator that enumerates through a collection of CIL instructions.

public struct CilInstructionCollection.Enumerator : IEnumerator<CilInstruction>, IEnumerator, IDisposable
Implements
Inherited Members

Constructors

Enumerator(CilInstructionCollection)

Creates a new instance of the CilInstructionCollection.Enumerator structure.

public Enumerator(CilInstructionCollection collection)

Parameters

collection CilInstructionCollection

The collection to enumerate.

Properties

Current

public CilInstruction Current { get; }

Property Value

CilInstruction

Methods

Dispose()

public void Dispose()

MoveNext()

public bool MoveNext()

Returns

bool

Reset()

public void Reset()