21 references to UnicodeEncodingConformance
System (21)
net\System\Net\Configuration\SettingsSection.cs (1)
348
internal
UnicodeEncodingConformance
WebUtilityUnicodeEncodingConformance
net\System\Net\Configuration\WebUtilityElement.cs (6)
21
new ConfigurationProperty(ConfigurationStrings.UnicodeEncodingConformance, typeof(
UnicodeEncodingConformance
),
UnicodeEncodingConformance
.Auto, new EnumTypeConverter<
UnicodeEncodingConformance
>(), null,
41
[ConfigurationProperty(ConfigurationStrings.UnicodeEncodingConformance, DefaultValue =
UnicodeEncodingConformance
.Auto)]
42
public
UnicodeEncodingConformance
UnicodeEncodingConformance {
44
return (
UnicodeEncodingConformance
)this[this.unicodeEncodingConformance];
net\System\Net\WebUtility.cs (14)
43
private static volatile
UnicodeEncodingConformance
_htmlEncodeConformance =
UnicodeEncodingConformance
.Auto;
82
UnicodeEncodingConformance
encodeConformance = HtmlEncodeConformance;
123
if (encodeConformance ==
UnicodeEncodingConformance
.Strict && Char.IsSurrogate(ch)) {
277
UnicodeEncodingConformance
encodeConformance = HtmlEncodeConformance;
297
else if (encodeConformance ==
UnicodeEncodingConformance
.Strict && Char.IsSurrogate(ch)) {
344
private static
UnicodeEncodingConformance
HtmlEncodeConformance {
346
if (_htmlEncodeConformance !=
UnicodeEncodingConformance
.Auto) {
350
UnicodeEncodingConformance
defaultEncodeConformance = (BinaryCompatibility.TargetsAtLeast_Desktop_V4_5) ?
UnicodeEncodingConformance
.Strict :
UnicodeEncodingConformance
.Compat;
351
UnicodeEncodingConformance
encodingConformance = defaultEncodeConformance;
359
if (encodingConformance <=
UnicodeEncodingConformance
.Auto || encodingConformance >
UnicodeEncodingConformance
.Compat) {