20 references to TaskCompletionSource
System (9)
net\System\Net\webclient.cs (9)
2552
var tcs = new
TaskCompletionSource
<string>(address);
2582
var tcs = new
TaskCompletionSource
<Stream>(address);
2627
var tcs = new
TaskCompletionSource
<Stream>(address);
2676
var tcs = new
TaskCompletionSource
<string>(address);
2707
var tcs = new
TaskCompletionSource
<byte[]>(address);
2738
var tcs = new
TaskCompletionSource
<object>(address);
2787
var tcs = new
TaskCompletionSource
<byte[]>(address);
2836
var tcs = new
TaskCompletionSource
<byte[]>(address);
2888
var tcs = new
TaskCompletionSource
<byte[]>(address);
System.Data (7)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (6)
1254
TaskCompletionSource<object> globalCompletion = new
TaskCompletionSource
<object>(stateObject);
1255
TaskCompletionSource<object> localCompletion = new
TaskCompletionSource
<object>(stateObject);
1745
TaskCompletionSource<object> globalCompletion = new
TaskCompletionSource
<object>(stateObject);
1746
TaskCompletionSource<object> localCompletion = new
TaskCompletionSource
<object>(stateObject);
2138
TaskCompletionSource<object> globalCompletion = new
TaskCompletionSource
<object>(stateObject);
2139
TaskCompletionSource<object> localCompletion = new
TaskCompletionSource
<object>(stateObject);
fx\src\data\System\Data\SqlClient\SqlConnection.cs (1)
1404
TaskCompletionSource<DbConnectionInternal> completion = new
TaskCompletionSource
<DbConnectionInternal>(transaction);
System.ServiceModel (1)
System\ServiceModel\Dispatcher\TaskMethodInvoker.cs (1)
283
var tcs = new
TaskCompletionSource
<TResult>(state);
System.ServiceModel.Internals (2)
System\Runtime\TaskExtensions.cs (2)
25
var tcs = new
TaskCompletionSource
<T>(state);
67
var tcs = new
TaskCompletionSource
<object>(state);
WindowsBase (1)
Base\System\Windows\Threading\DispatcherOperationTaskSource.cs (1)
29
_taskCompletionSource = new
TaskCompletionSource
<TResult>(new DispatcherOperationTaskMapping(operation));