You cannot 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
C#
27 lines
545 B
C#
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or
|
|
|
|
using System;
|
|
|
|
namespace Cysharp.Threading.Tasks
|
|
{
|
|
public readonly struct AsyncUnit : IEquatable<AsyncUnit>
|
|
{
|
|
public static readonly AsyncUnit Default = new AsyncUnit();
|
|
|
|
public override int GetHashCode()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
public bool Equals(AsyncUnit other)
|
|
{
|
|
return true;
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return "()";
|
|
}
|
|
}
|
|
}
|