cleanup unused code

master
neuecc 2020-07-04 22:08:48 +09:00
parent 4a89e3ea86
commit 32f24cf8f8
1 changed files with 0 additions and 18 deletions

View File

@ -120,24 +120,6 @@ namespace Cysharp.Threading.Tasks.Linq
completionSource.TrySetResult(false);
}
public bool TrySetCanceled(CancellationToken cancellationToken)
{
state = -2;
return completionSource.TrySetCanceled(cancellationToken);
}
public bool TrySetComplete()
{
state = -2;
return completionSource.TrySetResult(false);
}
public bool TrySetException(Exception error)
{
state = -2;
return completionSource.TrySetException(error);
}
public void SetResult(T value)
{
Current = value;