16 references to IsCompletedInternally
System.Data.Services.Client (16)
System\Data\Services\Client\BaseAsyncResult.cs (1)
333
if (this.
IsCompletedInternally
&& (System.Threading.Interlocked.Exchange(ref this.userNotified, 1) == 0))
System\Data\Services\Client\DataServiceContext.cs (11)
555
if (!result.
IsCompletedInternally
)
4255
Debug.Assert(this.
IsCompletedInternally
, "completed");
4312
Debug.Assert(!this.
IsCompletedInternally
, "why being called if already completed?");
4437
while (((null == pereq) || (pereq.RequestCompleted && asyncResult != null && asyncResult.CompletedSynchronously)) && !this.
IsCompletedInternally
);
5811
if (asyncResult.CompletedSynchronously && !pereq.RequestCompleted && !this.
IsCompletedInternally
)
5823
while (asyncResult.CompletedSynchronously && !pereq.RequestCompleted && !this.
IsCompletedInternally
&&
5959
while (asyncResult.CompletedSynchronously && !pereq.RequestCompleted && !this.
IsCompletedInternally
&& stream.CanRead);
5966
if (!this.
IsCompletedInternally
)
6017
while (asyncResult.CompletedSynchronously && !pereq.RequestCompleted && !this.
IsCompletedInternally
&& stream.CanRead);
6025
if (!this.
IsCompletedInternally
)
6080
if (!this.
IsCompletedInternally
)
System\Data\Services\Client\QueryResult.cs (4)
326
Debug.Assert(this.
IsCompletedInternally
, "request hasn't completed yet");
640
while (asyncResult.CompletedSynchronously && !queryResult.
IsCompletedInternally
&& stream.CanRead);
642
Debug.Assert(!queryResult.CompletedSynchronously || queryResult.
IsCompletedInternally
, "AsyncEndGetResponse !IsCompleted");
719
if ((null == pereq) || (pereq.
IsCompletedInternally
&& !pereq.IsAborted))