using System;
using Cpp2IlInjected;
namespace System.Net.Configuration
{
/// Controls how Unicode characters are interpreted by the methods.
// Token: 0x02000308 RID: 776
[Token(Token = "0x2000308")]
public enum UnicodeDecodingConformance
{
/// Use automatic behavior. The decoding behavior is determined by current application's target Framework. For .NET Framework 4.5 and later, the Unicode encoding decoding is strict.
// Token: 0x04000D02 RID: 3330
[Token(Token = "0x4000D02")]
Auto,
/// Use strict behavior. Specifies that the incoming encoded data is checked for validity before being decoded. For example, an input string of "𣎴" would decode as U+233B4, but an input string of "��" would fail to decode properly. Already-decoded data in the string is not checked for validity. For example, an input string of "\ud800" will result in an output string of "\ud800", as the already-decoded surrogate is skipped during decoding, even though it is unpaired.
// Token: 0x04000D03 RID: 3331
[Token(Token = "0x4000D03")]
Strict,
/// Use compatible behavior. Specifies that incoming data is not checked for validity before being decoded. For example, an input string of "�" would decode as U+D84C, which is an unpaired surrogate. Additionally, the decoder does not understand code points in the SMP unless they're represented as HTML-encoded surrogates, so the inputstring "𣎴" would result in the output string "𣎴".
// Token: 0x04000D04 RID: 3332
[Token(Token = "0x4000D04")]
Compat,
/// Use loose behavior. Similar to in that there are no validity checks, but the decoder also understands code points. The input string "𣎴" would decode into the character U+233B4 correctly. This switch is meant to provide maximum interoperability when the decoder doesn't know which format the provider is using to generate the encoded string.
// Token: 0x04000D05 RID: 3333
[Token(Token = "0x4000D05")]
Loose
}
}