This commit is contained in:
niko
2026-04-12 16:51:38 +02:00
parent 1b6f6d81d0
commit c12fbe3fc6
17828 changed files with 2994770 additions and 0 deletions
@@ -0,0 +1,25 @@
using System;
using Cpp2IlInjected;
namespace System.Net.Configuration
{
/// <summary>Controls how Unicode characters are output by the <see cref="Overload:System.Net.WebUtility.HtmlEncode" /> methods.</summary>
// Token: 0x02000305 RID: 773
[Token(Token = "0x2000305")]
public enum UnicodeEncodingConformance
{
/// <summary>Use automatic behavior. The Unicode encoding behavior is determined by current application's target Framework. For .NET Framework 4.5 and later, the Unicode encoding behavior is strict.</summary>
// Token: 0x04000CFA RID: 3322
[Token(Token = "0x4000CFA")]
Auto,
/// <summary>Use strict behavior. Specifies that individual UTF-16 surrogate code points are combined into a single code point when one of the <see cref="Overload:System.Net.WebUtility.HtmlEncode" /> methods is called. For example, given the input string "\uD84C\uDFB4" (or "\U000233B4"), the output of the <see cref="Overload:System.Net.WebUtility.HtmlEncode" /> methods is "&amp;#144308;".
/// If the input is a malformed UTF-16 string (it contains unpaired surrogates, for example), the bad code points will be replaced with U+FFFD (Unicode replacement char) before being HTML-encoded.</summary>
// Token: 0x04000CFB RID: 3323
[Token(Token = "0x4000CFB")]
Strict,
/// <summary>Use compatible behavior. Specifies that individual UTF-16 surrogate code points are output as-is when one of <see cref="Overload:System.Net.WebUtility.HtmlEncode" /> methods is called. For example, given a string "\uD84C\uDFB4" (or "\U000233B4"), the output of <see cref="Overload:System.Net.WebUtility.HtmlEncode" /> is "\uD84C\uDFB4" (the input is not encoded).</summary>
// Token: 0x04000CFC RID: 3324
[Token(Token = "0x4000CFC")]
Compat
}
}