20 references to TextEncoderDefaults
dotnet-svcutil-lib (20)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MtomMessageEncodingBindingElement.cs (4)
26
: this(MessageVersion.Default,
TextEncoderDefaults
.Encoding)
41
TextEncoderDefaults
.ValidateEncoding(writeEncoding);
134
TextEncoderDefaults
.ValidateEncoding(value);
276
return (this.WriteEncoding !=
TextEncoderDefaults
.Encoding);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TextMessageEncoder.cs (5)
55
Encoding[] supported =
TextEncoderDefaults
.SupportedEncodings;
94
return String.Format(CultureInfo.InvariantCulture, "{0}; charset={1}", mediaType,
TextEncoderDefaults
.EncodingToCharSet(encoding));
235
return
TextEncoderDefaults
.TryGetEncoding(charSet, out encoding);
272
TextEncoderDefaults
.ValidateEncoding(writeEncoding);
356
return
TextEncoderDefaults
.TryGetEncoding(charSet, out tmp);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TextMessageEncodingBindingElement.cs (3)
20
: this(MessageVersion.Default,
TextEncoderDefaults
.Encoding)
32
TextEncoderDefaults
.ValidateEncoding(writeEncoding);
133
TextEncoderDefaults
.ValidateEncoding(value);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportDefaults.cs (3)
56
public static readonly Encoding Encoding = Encoding.GetEncoding(
TextEncoderDefaults
.EncodingString);
296
return new TextMessageEncoderFactory(MessageVersion.Default,
TextEncoderDefaults
.Encoding, EncoderDefaults.MaxReadPoolSize, EncoderDefaults.MaxWritePoolSize, EncoderDefaults.ReaderQuotas);
340
get { return
TextEncoderDefaults
.Encoding; }
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExchangeClient.cs (4)
1278
return
TextEncoderDefaults
.Encoding;
1283
return
TextEncoderDefaults
.Encoding;
1286
Encoding[] supportedEncodings =
TextEncoderDefaults
.SupportedEncodings;
1293
return
TextEncoderDefaults
.Encoding;
FrameworkFork\System.ServiceModel\System\ServiceModel\UdpBinding.cs (1)
185
return (!this.TextEncoding.Equals(
TextEncoderDefaults
.Encoding));