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
collectionCilInstructionCollectionThe collection to enumerate.
Properties
Current
public CilInstruction Current { get; }
Property Value
Methods
Dispose()
public void Dispose()
MoveNext()
public bool MoveNext()
Returns
Reset()
public void Reset()