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