11 references to FromCancellation
mscorlib (11)
system\io\bufferedstream.cs (3)
335
return Task.
FromCancellation
<Int32>(cancellationToken);
679
return Task.
FromCancellation
<Int32>(cancellationToken);
1091
return Task.
FromCancellation
<Int32>(cancellationToken);
system\io\filestream.cs (1)
2623
return Task.
FromCancellation
<int>(cancellationToken);
system\io\memorystream.cs (1)
389
return Task.
FromCancellation
<int>(cancellationToken);
system\io\stream.cs (1)
422
? Task.
FromCancellation
<int>(cancellationToken)
system\io\unmanagedmemorystream.cs (1)
460
return Task.
FromCancellation
<Int32>(cancellationToken);
system\security\cryptography\cryptostream.cs (1)
328
return Task.
FromCancellation
<int>(cancellationToken);
system\threading\SemaphoreSlim.cs (1)
613
return Task.
FromCancellation
<bool>(cancellationToken);
system\threading\Tasks\Task.cs (2)
5583
return
FromCancellation
<TResult>(cancellationToken);
5769
return Task.
FromCancellation
<TResult>(cancellationToken);