59 references to State
System.ServiceModel (59)
System\ServiceModel\Channels\FramingDecoders.cs (46)
597
State
currentState;
609
this.currentState =
State
.ReadingViaRecord;
612
public
State
CurrentState
626
if (currentState <
State
.PreUpgradeStart)
637
if (currentState <
State
.ReadingContentTypeRecord)
647
this.currentState =
State
.ReadingViaRecord;
654
if (currentState !=
State
.UpgradeRequest)
665
if (currentState <
State
.EnvelopeStart)
682
case
State
.ReadingViaRecord:
687
currentState =
State
.ReadingViaString;
689
case
State
.ReadingViaString:
693
currentState =
State
.ReadingContentTypeRecord;
696
case
State
.ReadingContentTypeRecord:
701
currentState =
State
.ReadingContentTypeByte;
708
currentState =
State
.ReadingContentTypeString;
711
case
State
.ReadingContentTypeByte:
714
currentState =
State
.PreUpgradeStart;
716
case
State
.ReadingContentTypeString:
720
currentState =
State
.PreUpgradeStart;
724
case
State
.PreUpgradeStart:
726
currentState =
State
.ReadingUpgradeRecord;
728
case
State
.ReadingUpgradeRecord:
734
currentState =
State
.ReadingUpgradeString;
739
currentState =
State
.ReadingPreambleEndRecord;
742
case
State
.ReadingUpgradeString:
746
currentState =
State
.UpgradeRequest;
750
case
State
.UpgradeRequest:
752
currentState =
State
.ReadingUpgradeRecord;
754
case
State
.ReadingPreambleEndRecord:
758
currentState =
State
.Start;
760
case
State
.Start:
762
currentState =
State
.ReadingEndRecord;
764
case
State
.ReadingEndRecord:
769
currentState =
State
.End;
774
currentState =
State
.ReadingEnvelopeRecord;
777
case
State
.ReadingEnvelopeRecord:
780
currentState =
State
.ReadingEnvelopeSize;
783
case
State
.ReadingEnvelopeSize:
787
currentState =
State
.EnvelopeStart;
792
case
State
.EnvelopeStart:
794
currentState =
State
.ReadingEnvelopeBytes;
796
case
State
.ReadingEnvelopeBytes:
802
currentState =
State
.EnvelopeEnd;
804
case
State
.EnvelopeEnd:
806
currentState =
State
.ReadingEndRecord;
808
case
State
.End:
System\ServiceModel\Channels\MsmqDecodeHelper.cs (3)
217
if (ServerSessionDecoder.
State
.EnvelopeStart == sessionDecoder.CurrentState)
290
if (ServerSessionDecoder.
State
.End == sessionDecoder.CurrentState)
292
if (ServerSessionDecoder.
State
.EnvelopeStart == sessionDecoder.CurrentState)
System\ServiceModel\Channels\SessionConnectionReader.cs (10)
175
if (decoder.CurrentState == ServerSessionDecoder.
State
.PreUpgradeStart)
441
case ServerSessionDecoder.
State
.UpgradeRequest:
476
case ServerSessionDecoder.
State
.Start:
735
case ServerSessionDecoder.
State
.UpgradeRequest:
759
case ServerSessionDecoder.
State
.Start:
1003
if (!(decoder.CurrentState == ServerSessionDecoder.
State
.End || decoder.CurrentState == ServerSessionDecoder.
State
.EnvelopeEnd))
1031
case ServerSessionDecoder.
State
.EnvelopeStart:
1045
case ServerSessionDecoder.
State
.EnvelopeEnd:
1076
case ServerSessionDecoder.
State
.End: