45 references to RequestStage
System (45)
net\System\Net\FtpWebRequest.cs (45)
229
private
RequestStage
m_RequestStage;
625
FinishRequestStage(
RequestStage
.CheckForError);
631
RequestStage
prev = FinishRequestStage(
RequestStage
.RequestStarted);
632
if (prev >=
RequestStage
.RequestStarted)
634
if (prev <
RequestStage
.ReadReady)
638
if (m_RequestStage <
RequestStage
.ReadReady)
655
FinishRequestStage(
RequestStage
.WriteReady);
657
FinishRequestStage(
RequestStage
.ReadReady);
666
FinishRequestStage(
RequestStage
.ReleaseConnection);
693
FinishRequestStage(
RequestStage
.CheckForError);
744
RequestStage
prev = FinishRequestStage(
RequestStage
.RequestStarted);
748
if (prev >=
RequestStage
.RequestStarted)
754
if (prev >=
RequestStage
.ReadReady)
760
if (m_RequestStage >=
RequestStage
.ReadReady)
781
FinishRequestStage(
RequestStage
.CheckForError);
922
FinishRequestStage(
RequestStage
.RequestStarted);
924
FinishRequestStage(
RequestStage
.WriteReady);
976
FinishRequestStage(
RequestStage
.RequestStarted);
983
FinishRequestStage(
RequestStage
.CheckForError);
1358
RequestStage
stageMode =
RequestStage
.CheckForError;
1401
stageMode =
RequestStage
.ReleaseConnection;
1419
RequestStage
stageMode =
RequestStage
.CheckForError;
1490
stageMode = stream.CanRead?
RequestStage
.ReadReady:
RequestStage
.WriteReady;
1521
stageMode =
RequestStage
.ReleaseConnection;
1553
private
RequestStage
FinishRequestStage(
RequestStage
stage)
1557
stage =
RequestStage
.ReleaseConnection;
1559
RequestStage
prev;
1568
if (stage ==
RequestStage
.CheckForError)
1571
if (prev ==
RequestStage
.ReleaseConnection &&
1572
stage ==
RequestStage
.ReleaseConnection)
1574
return
RequestStage
.ReleaseConnection;
1580
if (stage <=
RequestStage
.RequestStarted)
1587
if (stage ==
RequestStage
.ReleaseConnection)
1591
prev !=
RequestStage
.ReadReady &&
1604
if ((stage ==
RequestStage
.ReleaseConnection ||
1605
prev ==
RequestStage
.ReleaseConnection)
1634
if (stage >=
RequestStage
.WriteReady) {
1651
if (stage >=
RequestStage
.ReadReady && readResult != null && !readResult.InternalPeekCompleted)
1698
if (m_RequestStage >=
RequestStage
.ReleaseConnection)