4 references to ReceiveStarted
System.ServiceModel.Activation (4)
System\ServiceModel\Activation\HostedHttpRequestAsyncResult.cs (4)
646
Fx.Assert(currentStreamedReadState == StreamedReadState.
ReceiveStarted
, string.Format(CultureInfo.InvariantCulture, "currentStramedReadState is not ReceivedStarted: {0}", currentStreamedReadState));
666
return Interlocked.CompareExchange(ref this.streamedReadState, StreamedReadState.
ReceiveStarted
, StreamedReadState.None) == StreamedReadState.None;
671
if (Interlocked.CompareExchange(ref this.streamedReadState, StreamedReadState.None, StreamedReadState.
ReceiveStarted
) == StreamedReadState.
ReceiveStarted
)