1 write to _taskCompletionSource
WindowsBase (1)
Base\System\Windows\Threading\DispatcherOperationTaskSource.cs (1)
29
_taskCompletionSource
= new TaskCompletionSource<TResult>(new DispatcherOperationTaskMapping(operation));
9 references to _taskCompletionSource
WindowsBase (9)
Base\System\Windows\Threading\DispatcherOperationTaskSource.cs (9)
24
if(
_taskCompletionSource
!= null)
34
if(
_taskCompletionSource
== null)
39
return
_taskCompletionSource
.Task;
44
if(
_taskCompletionSource
== null)
49
_taskCompletionSource
.SetCanceled();
54
if(
_taskCompletionSource
== null)
59
_taskCompletionSource
.SetResult((TResult)result);
64
if(
_taskCompletionSource
== null)
69
_taskCompletionSource
.SetException(exception);