ETTaskCompleted.cs 704 B

12345678910111213141516171819202122232425262728293031323334
  1. using System;
  2. using System.Diagnostics;
  3. using System.Runtime.CompilerServices;
  4. namespace ET
  5. {
  6. [AsyncMethodBuilder(typeof (AsyncETTaskCompletedMethodBuilder))]
  7. public struct ETTaskCompleted: ICriticalNotifyCompletion
  8. {
  9. [DebuggerHidden]
  10. public ETTaskCompleted GetAwaiter()
  11. {
  12. return this;
  13. }
  14. [DebuggerHidden]
  15. public bool IsCompleted => true;
  16. [DebuggerHidden]
  17. public void GetResult()
  18. {
  19. }
  20. [DebuggerHidden]
  21. public void OnCompleted(Action continuation)
  22. {
  23. }
  24. [DebuggerHidden]
  25. public void UnsafeOnCompleted(Action continuation)
  26. {
  27. }
  28. }
  29. }