private static void OnDisposeAdapter(NoStateAdapter state) => state.DisposeAction?.Invoke();
private static Task EnumerateWithNoStateAdapter(Yield yield, NoStateAdapter state) => state.EnumerationFunction(yield);
private static void OnDisposeAdapter(NoStateAdapter state) => state.DisposeAction?.Invoke();
private static Task EnumerateWithNoStateAdapter(Yield yield, NoStateAdapter state) => state.EnumerationFunction(yield);