5 references to TrySetCanceled
mscorlib (5)
system\io\filestream.cs (2)
2774
readTask.
TrySetCanceled
(cancellationToken);
2810
writeTask.
TrySetCanceled
(cancellationToken);
system\threading\Tasks\Task.cs (2)
5931
setSucceeded =
TrySetCanceled
(Token);
7324
TrySetCanceled
(default(CancellationToken));
system\threading\Tasks\TaskCompletionSource.cs (1)
348
bool rval = m_task.
TrySetCanceled
(cancellationToken);