8 references to Decoder
System.ServiceModel (8)
System\ServiceModel\Channels\SingletonConnectionReader.cs (8)
393
if (!this.parent.transportSettings.MessageEncoderFactory.Encoder.IsContentTypeSupported(
Decoder
.ContentType))
397
SR.ContentTypeMismatch,
Decoder
.ContentType, parent.transportSettings.MessageEncoderFactory.Encoder.ContentType)));
426
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(this.
Decoder
.CreatePrematureEOFException());
456
int bytesRead =
Decoder
.Decode(ConnectionBuffer, Offset, Size);
464
switch (
Decoder
.CurrentState)
478
new ProtocolException(SR.GetString(SR.UpgradeRequestToNonupgradableService,
Decoder
.Upgrade)));
481
if (!this.upgradeAcceptor.CanUpgrade(
Decoder
.Upgrade))
484
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ProtocolException(SR.GetString(SR.UpgradeProtocolNotSupported,
Decoder
.Upgrade)));