You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

27 lines
545 B

  1. #pragma warning disable CS1591 // Missing XML comment for publicly visible type or
  2. using System;
  3. namespace Cysharp.Threading.Tasks
  4. {
  5. public readonly struct AsyncUnit : IEquatable<AsyncUnit>
  6. {
  7. public static readonly AsyncUnit Default = new AsyncUnit();
  8. public override int GetHashCode()
  9. {
  10. return 0;
  11. }
  12. public bool Equals(AsyncUnit other)
  13. {
  14. return true;
  15. }
  16. public override string ToString()
  17. {
  18. return "()";
  19. }
  20. }
  21. }