46 references to InternalPeekCompleted
System (46)
net\System\Net\_Connection.cs (2)
3280
GlobalLog.Print("Connection#" + ValidationHelper.HashString(this) + "::PollAndRead() InternalPeekCompleted:" + request.ConnectionReaderAsyncResult.
InternalPeekCompleted
.ToString() + " Result:" + ValidationHelper.ToString(request.ConnectionReaderAsyncResult.Result));
3281
if (request.ConnectionReaderAsyncResult.
InternalPeekCompleted
&& request.ConnectionReaderAsyncResult.Result == null && CanBePooled)
net\System\Net\_ContextAwareResult.cs (9)
149
if (
InternalPeekCompleted
)
171
if (
InternalPeekCompleted
)
189
GlobalLog.Assert(!
InternalPeekCompleted
|| (_Flags & StateFlags.ThreadSafeContextCopy) != 0, "ContextAwareResult#{0}::Identity|Called on completed result.", ValidationHelper.HashString(this));
190
if (
InternalPeekCompleted
)
211
GlobalLog.Assert(!
InternalPeekCompleted
|| (_Flags & StateFlags.ThreadSafeContextCopy) != 0, "ContextAwareResult#{0}::Identity|Result became completed during call.", ValidationHelper.HashString(this));
212
if (
InternalPeekCompleted
)
246
GlobalLog.Assert(!
InternalPeekCompleted
, "ContextAwareResult#{0}::StartPostingAsyncOp|Called on completed result.", ValidationHelper.HashString(this));
373
if ((_Flags & StateFlags.CaptureIdentity) != 0 && !
InternalPeekCompleted
&&
383
if (capturingContext && !
InternalPeekCompleted
)
net\System\Net\_LazyAsyncResult.cs (3)
193
if (
InternalPeekCompleted
)
301
GlobalLog.Assert(!
InternalPeekCompleted
, "LazyAsyncResult#{0}::set_Result()|Called on completed result.", ValidationHelper.HashString(this));
476
bool complete = snap ? IsCompleted :
InternalPeekCompleted
;
net\System\Net\_StreamFramer.cs (2)
327
if (!workerResult.
InternalPeekCompleted
) {
470
if (!workerResult.
InternalPeekCompleted
) {
net\System\Net\_TLSstream.cs (2)
634
if (bufferResult.
InternalPeekCompleted
)
685
if (((LazyAsyncResult) result.AsyncState).
InternalPeekCompleted
)
net\System\Net\Cache\_CacheStreams.cs (3)
207
if (userResult.
InternalPeekCompleted
)
576
if (userResult.
InternalPeekCompleted
)
635
if (userResult.
InternalPeekCompleted
)
net\System\Net\FtpWebRequest.cs (3)
769
if (!asyncResult.
InternalPeekCompleted
)
1645
else if (writeResult != null && !writeResult.
InternalPeekCompleted
)
1651
if (stage >= RequestStage.ReadReady && readResult != null && !readResult.
InternalPeekCompleted
)
net\System\Net\HttpWebRequest.cs (12)
419
return _ReadAResult != null && _ReadAResult.
InternalPeekCompleted
;
823
return _WriteAResult != null && _WriteAResult.
InternalPeekCompleted
;
830
return _WriteAResult != null && !_WriteAResult.
InternalPeekCompleted
;
1365
if (_WriteAResult != null && _WriteAResult.
InternalPeekCompleted
)
1413
GlobalLog.Assert(_ReadAResult.
InternalPeekCompleted
, "HttpWebRequest#{0}::BeginGetRequestStream()|Incomplete _ReadAResult present on request.", ValidationHelper.HashString(this));
1543
if (_WriteAResult == null || !_WriteAResult.
InternalPeekCompleted
)
1566
GlobalLog.Assert(_ReadAResult.
InternalPeekCompleted
, "HttpWebRequest#{0}::GetRequestStream()|Incomplete _ReadAResult present on request.", ValidationHelper.HashString(this));
1584
while (m_Retry && !_WriteAResult.
InternalPeekCompleted
) {
1590
while (Aborted && !_WriteAResult.
InternalPeekCompleted
)
2254
while (!Async && Aborted && !_ReadAResult.
InternalPeekCompleted
)
4056
if (context == null || context.
InternalPeekCompleted
|| HttpWriteMode == HttpWriteMode.None
6098
if (!_ReadAResult.
InternalPeekCompleted
&& m_Aborted != AbortState.Public) // otherwise it's too late
net\System\Net\SecureProtocols\_HelperAsyncResults.cs (2)
105
GlobalLog.Assert(!userAsyncResult.
InternalPeekCompleted
, "AsyncProtocolRequest()|userAsyncResult is already completed.");
178
get {return UserAsyncResult.
InternalPeekCompleted
;}
net\System\Net\SecureProtocols\_NegoState.cs (2)
763
if (lazyResult.
InternalPeekCompleted
) {
792
if (lazyResult.
InternalPeekCompleted
) {
net\System\Net\SecureProtocols\_SslState.cs (1)
1725
GlobalLog.Assert(lazyAsyncResult.
InternalPeekCompleted
, "SslState::RehandshakeCompleteCallback()|result is not completed!");
net\System\Net\Sockets\_BaseOverlappedAsyncResult.cs (2)
327
GlobalLog.Assert(!asyncResult.
InternalPeekCompleted
, "BaseOverlappedAsyncResult#{0}::CompletionPortCallback()|asyncResult.IsCompleted", ValidationHelper.HashString(asyncResult));
413
GlobalLog.Assert(!asyncResult.
InternalPeekCompleted
, "AcceptOverlappedAsyncResult#{0}::OverlappedCallback()|asyncResult.IsCompleted", ValidationHelper.HashString(asyncResult));
net\System\Net\Sockets\Socket.cs (3)
2983
if (asyncResult.
InternalPeekCompleted
)
3067
if (!asyncResult.
InternalPeekCompleted
)
6279
if (connectResult != null && !connectResult.
InternalPeekCompleted
)