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