72 references to TaskCompletionSource
System (11)
net\System\Net\mail\SmtpClient.cs (1)
731
var tcs = new
TaskCompletionSource
<object>();
net\System\Net\NetworkInformation\ping.cs (1)
545
var tcs = new
TaskCompletionSource
<PingReply>();
net\System\Net\WebSockets\WebSocketBase.cs (2)
809
m_CloseReceivedTaskCompletionSource = new
TaskCompletionSource
<object>();
1501
m_CloseReceivedTaskCompletionSource = new
TaskCompletionSource
<object>();
net\System\Net\WebSockets\WebSocketConnectionStream.cs (3)
656
m_WriteTaskCompletionSource = new
TaskCompletionSource
<object>();
708
m_WriteTaskCompletionSource = new
TaskCompletionSource
<object>();
767
m_ReadTaskCompletionSource = new
TaskCompletionSource
<int>();
net\System\Net\WebSockets\WebSocketHttpListenerDuplexStream.cs (4)
167
m_ReadTaskCompletionSource = new
TaskCompletionSource
<int>();
384
m_WriteTaskCompletionSource = new
TaskCompletionSource
<object>();
454
m_WriteTaskCompletionSource = new
TaskCompletionSource
<object>();
637
m_WriteTaskCompletionSource = new
TaskCompletionSource
<object>();
System.Data (45)
fx\src\data\System\Data\Common\AdapterUtil.cs (2)
55
TaskCompletionSource<T> completion = new
TaskCompletionSource
<T>();
61
TaskCompletionSource<T> completion = new
TaskCompletionSource
<T>();
fx\src\data\System\Data\Common\DBConnection.cs (1)
185
TaskCompletionSource<object> taskCompletionSource = new
TaskCompletionSource
<object>();
fx\src\data\System\Data\ProviderBase\DbConnectionFactory.cs (1)
179
TaskCompletionSource<DbConnectionInternal> source = new
TaskCompletionSource
<DbConnectionInternal>();
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (13)
1018
TaskCompletionSource<bool> tcs = new
TaskCompletionSource
<bool>();
1614
TaskCompletionSource<object> source = new
TaskCompletionSource
<object>();
1751
TaskCompletionSource<object> tcs = new
TaskCompletionSource
<object>();
2028
source = new
TaskCompletionSource
<object>();
2129
tcs = new
TaskCompletionSource
<object>();
2183
source = new
TaskCompletionSource
<object>();
2192
source = source ?? new
TaskCompletionSource
<object>();
2258
source = new
TaskCompletionSource
<object>();
2310
source = new
TaskCompletionSource
<object>();
2353
source = new
TaskCompletionSource
<object>();
2480
source = new
TaskCompletionSource
<object>();
2581
TaskCompletionSource<object> cancellableReconnectTS = new
TaskCompletionSource
<object>();
2666
source = new
TaskCompletionSource
<object>(); //creating the completion source/Task that we pass to application
fx\src\data\System\Data\SqlClient\SqlCommand.cs (7)
2410
TaskCompletionSource<int> source = new
TaskCompletionSource
<int>();
2474
TaskCompletionSource<SqlDataReader> source = new
TaskCompletionSource
<SqlDataReader>();
2515
TaskCompletionSource<object> source = new
TaskCompletionSource
<object>();
2578
TaskCompletionSource<XmlReader> source = new
TaskCompletionSource
<XmlReader>();
3068
TaskCompletionSource<object> completion = new
TaskCompletionSource
<object>();
4282
TaskCompletionSource<object> completion = new
TaskCompletionSource
<object>();
4354
TaskCompletionSource<object> completion = new
TaskCompletionSource
<object>();
fx\src\data\System\Data\SqlClient\SqlConnection.cs (1)
1405
TaskCompletionSource<object> result = new
TaskCompletionSource
<object>();
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (11)
3937
TaskCompletionSource<bool> source = new
TaskCompletionSource
<bool>();
4000
TaskCompletionSource<int> source = new
TaskCompletionSource
<int>();
4006
TaskCompletionSource<int> source = new
TaskCompletionSource
<int>();
4020
TaskCompletionSource<int> source = new
TaskCompletionSource
<int>();
4112
source = new
TaskCompletionSource
<int>();
4263
TaskCompletionSource<bool> source = new
TaskCompletionSource
<bool>();
4383
TaskCompletionSource<bool> source = new
TaskCompletionSource
<bool>();
4484
TaskCompletionSource<T> source = new
TaskCompletionSource
<T>();
4570
TaskCompletionSource<T> source = new
TaskCompletionSource
<T>();
4578
TaskCompletionSource<T> exceptionSource = new
TaskCompletionSource
<T>();
4613
TaskCompletionSource<T> source = new
TaskCompletionSource
<T>();
fx\src\data\System\Data\SqlClient\SqlSequentialStream.cs (1)
157
TaskCompletionSource<int> completion = new
TaskCompletionSource
<int>();
fx\src\data\System\Data\SqlClient\SqlSequentialTextReader.cs (1)
130
TaskCompletionSource<int> completion = new
TaskCompletionSource
<int>();
fx\src\data\System\Data\SqlClient\SqlUtil.cs (1)
38
TaskCompletionSource<object> completion = new
TaskCompletionSource
<object>();
fx\src\data\System\Data\SqlClient\TdsParser.cs (2)
8540
completion = new
TaskCompletionSource
<object>();
8586
completion = new
TaskCompletionSource
<object>();
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (4)
1916
ReadSni(new
TaskCompletionSource
<object>());
2680
_writeCompletionSource = new
TaskCompletionSource
<object>();
2766
completion = new
TaskCompletionSource
<object>();
2927
_writeCompletionSource = new
TaskCompletionSource
<object>();
System.ServiceModel (3)
System\ServiceModel\Channels\HttpPipeline.cs (1)
491
this.channelModelIntegrationHandlerTask = new
TaskCompletionSource
<HttpResponseMessage>();
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (2)
835
this.receiveTask = new
TaskCompletionSource
<object>();
854
this.streamWaitTask = new
TaskCompletionSource
<object>();
System.ServiceModel.Activation (2)
System\ServiceModel\Activation\HostedHttpContext.cs (2)
89
this.webSocketContextTaskSource = new
TaskCompletionSource
<WebSocketContext>();
119
this.webSocketWaitingTask = new
TaskCompletionSource
<object>();
System.ServiceModel.Discovery (2)
System\ServiceModel\Discovery\DiscoveryClient.cs (2)
438
TaskCompletionSource<FindResponse> taskCompletionSource = new
TaskCompletionSource
<FindResponse>();
459
TaskCompletionSource<ResolveResponse> taskCompletionSource = new
TaskCompletionSource
<ResolveResponse>();
System.Web (9)
AspNetSynchronizationContextBase.cs (1)
44
TaskCompletionSource<object> tcs = new
TaskCompletionSource
<object>();
Hosting\ApplicationManager.cs (1)
647
TaskCompletionSource<ApplicationResumeStateContainer> tcs = new
TaskCompletionSource
<ApplicationResumeStateContainer>();
UI\PageAsyncTaskApm.cs (1)
34
TaskCompletionSource<object> taskCompletionSource = new
TaskCompletionSource
<object>();
Util\CountdownTask.cs (1)
21
private readonly TaskCompletionSource<object> _tcs = new
TaskCompletionSource
<object>();
Util\SynchronizationHelper.cs (2)
82
TaskCompletionSource<object> tcs = new
TaskCompletionSource
<object>();
181
TaskCompletionSource<Task> tcs = new
TaskCompletionSource
<Task>();
WebSockets\WebSocketPipe.cs (3)
40
TaskCompletionSource<object> tcs = new
TaskCompletionSource
<object>();
86
TaskCompletionSource<object> tcs = new
TaskCompletionSource
<object>();
119
TaskCompletionSource<WebSocketReceiveResult> tcs = new
TaskCompletionSource
<WebSocketReceiveResult>();