5 writes to streamedReadState
System.ServiceModel.Activation (5)
System\ServiceModel\Activation\HostedHttpRequestAsyncResult.cs (5)
629
int currentStreamedReadState = Interlocked.Exchange(ref this.
streamedReadState
, StreamedReadState.AbortStarted);
647
if (Interlocked.CompareExchange(ref this.
streamedReadState
, StreamedReadState.Aborted, StreamedReadState.AbortStarted) == StreamedReadState.AbortStarted)
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)
676
if (Interlocked.CompareExchange(ref this.
streamedReadState
, StreamedReadState.ReceiveFinishedAfterAbortStarted, StreamedReadState.AbortStarted) == StreamedReadState.AbortStarted)
4 references to streamedReadState
System.ServiceModel.Activation (4)
System\ServiceModel\Activation\HostedHttpRequestAsyncResult.cs (4)
652
Fx.Assert(this.
streamedReadState
== StreamedReadState.ReceiveFinishedAfterAbortStarted, string.Format(CultureInfo.InvariantCulture, "currentStramedReadState is not ReceiveFinished: {0}", this.
streamedReadState
));
681
Fx.Assert(this.
streamedReadState
== StreamedReadState.Aborted, string.Format(CultureInfo.InvariantCulture, "currentStramedReadState is not Aborted: {0}", this.
streamedReadState
));