internal GeneratorEnumerator(GeneratorNext <T> next) { _next = next; _state = GeneratorRewriter.NotStarted; }
public static IEnumerator <T> MakeGenerator <T>(GeneratorNext <T> next) { return(new GeneratorEnumerator <T>(next)); }
public static IEnumerator <T> MakeGenerator <T>(GeneratorNext <T> next, int[] yieldMarkers) { return(new DebugGeneratorEnumerator <T>(next, yieldMarkers)); }
internal DebugGeneratorEnumerator(GeneratorNext <T> next, int[] yieldMarkers) : base(next) { _yieldMarkers = yieldMarkers; }