4 writes to Async
System (4)
net\System\Net\HttpWebRequest.cs (4)
1420
Async
= true;
1574
Async
= false;
1979
Async
= true;
2207
Async
= false;
38 references to Async
System (38)
net\System\Net\_Connection.cs (10)
752
if (!request.
Async
)
952
if (request.
Async
) {
970
if (!request.
Async
) {
984
if (request.
Async
)
991
if (request.
Async
|| onSubmitThread) {
1150
if (request.
Async
)
1166
request.
Async
? request.GetConnectingContext().ContextCopy : null);
1519
if (!nextRequest.
Async
)
1585
if (!request.
Async
)
3570
if (currentRequest.
Async
)
net\System\Net\_ConnectStream.cs (2)
434
if (!m_Request.
Async
)
458
if (IsPostStream || m_Request.
Async
)
net\System\Net\HttpWebRequest.cs (26)
1880
if (
Async
) {
2211
if (
Async
)
2254
while (!
Async
&& Aborted && !_ReadAResult.InternalPeekCompleted)
3190
if (!
Async
)
3206
if (!
Async
)
3362
if (!
Async
) {
3403
if (
Async
&& _CoreResponse != null && (object)_CoreResponse != (object)DBNull.Value)
3471
ExecutionContext x =
Async
? GetWritingContext().ContextCopy : null;
3528
object responseData =
Async
? Interlocked.CompareExchange(ref _CoreResponse, null, DBNull.Value): _CoreResponse;
3532
GlobalLog.Print("HttpWebRequest#" + ValidationHelper.HashString(this) + "::CheckWriteSideResponseProcessing() - responseData = DBNull means no response yet, " + (
Async
?"async: closing write side window": "sync: leaving write side window opened"));
3542
if (!
Async
&& ++_NestedWriteSideCheck != 1)
3629
if (!
Async
)
3699
if (!
Async
)
3723
if (!
Async
)
4026
if (!
Async
)
4049
if (!
Async
)
4074
if (!
Async
)
4135
if (!
Async
)
4142
if (_Timer == null && !
Async
){
4191
if (!
Async
)
4388
_SubmitWriteStream.WriteHeaders(
Async
);
4399
if (!
Async
)
5929
CheckConnectPermission(uri,
Async
);
6024
if (!Aborted &&
Async
)
6072
else if (!
Async
&& UserRetrievedWriteStream) {
6078
if ((
Async
|| UserRetrievedWriteStream) && _OldSubmitWriteStream != null && _OldSubmitWriteStream != _SubmitWriteStream) {