using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ReflectionToEcmaCil { public class ILStreamPositionReader { /// /// .Key contains stream index, .Value contains instruction (logical) index /// public static IEnumerable> GetIndexes(byte[] stream) { int xCurrentPosition = 0; yield return new KeyValuePair(0, 0); while (xCurrentPosition < stream.Length) { } } } }