2 writes to m_task
mscorlib (2)
system\threading\Tasks\TaskCompletionSource.cs (2)
63
m_task
= new Task<TResult>();
111
m_task
= new Task<TResult>(state, creationOptions);
12 references to m_task
mscorlib (12)
system\threading\Tasks\TaskCompletionSource.cs (12)
129
get { return
m_task
; }
138
while (!
m_task
.IsCompleted)
164
bool rval =
m_task
.TrySetException(exception);
165
if (!rval && !
m_task
.IsCompleted) SpinUntilCompleted();
204
bool rval =
m_task
.TrySetException(defensiveCopy);
205
if (!rval && !
m_task
.IsCompleted) SpinUntilCompleted();
220
bool rval =
m_task
.TrySetException(exceptions);
221
if (!rval && !
m_task
.IsCompleted) SpinUntilCompleted();
298
bool rval =
m_task
.TrySetResult(result);
299
if (!rval && !
m_task
.IsCompleted) SpinUntilCompleted();
348
bool rval =
m_task
.TrySetCanceled(cancellationToken);
349
if (!rval && !
m_task
.IsCompleted) SpinUntilCompleted();