CustomYieldInstructionShim.cs 615 B

123456789101112131415161718192021222324252627282930313233343536
  1. using System;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. namespace XUnity.AutoTranslator.Plugin.Core.Shim
  7. {
  8. public abstract class CustomYieldInstructionShim : IEnumerator
  9. {
  10. // Methods
  11. protected CustomYieldInstructionShim()
  12. {
  13. }
  14. public bool MoveNext()
  15. {
  16. return keepWaiting;
  17. }
  18. public void Reset()
  19. {
  20. }
  21. // Properties
  22. public object Current
  23. {
  24. get
  25. {
  26. return null;
  27. }
  28. }
  29. public abstract bool keepWaiting { get; }
  30. }
  31. }