scripts
This commit is contained in:
@@ -0,0 +1,69 @@
|
||||
using System;
|
||||
|
||||
namespace System.Text
|
||||
{
|
||||
/// <summary>Provides a failure-handling mechanism, called a fallback, for an encoded input byte sequence that cannot be converted to an output character. </summary>
|
||||
/// <filterpriority>2</filterpriority>
|
||||
// Token: 0x020005E4 RID: 1508
|
||||
[Serializable]
|
||||
public abstract class DecoderFallback
|
||||
{
|
||||
/// <summary>Gets an object that throws an exception when an input byte sequence cannot be decoded.</summary>
|
||||
/// <returns>A type derived from the <see cref="T:System.Text.DecoderFallback" /> class. The default value is a <see cref="T:System.Text.DecoderExceptionFallback" /> object.</returns>
|
||||
/// <filterpriority>1</filterpriority>
|
||||
// Token: 0x17000AB9 RID: 2745
|
||||
// (get) Token: 0x060036EC RID: 14060 RVA: 0x000BC7D8 File Offset: 0x000BA9D8
|
||||
public static DecoderFallback ExceptionFallback
|
||||
{
|
||||
get
|
||||
{
|
||||
return DecoderFallback.exception_fallback;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, gets the maximum number of characters the current <see cref="T:System.Text.DecoderFallback" /> object can return.</summary>
|
||||
/// <returns>The maximum number of characters the current <see cref="T:System.Text.DecoderFallback" /> object can return.</returns>
|
||||
/// <filterpriority>2</filterpriority>
|
||||
// Token: 0x17000ABA RID: 2746
|
||||
// (get) Token: 0x060036ED RID: 14061
|
||||
public abstract int MaxCharCount { get; }
|
||||
|
||||
/// <summary>Gets an object that outputs a substitute string in place of an input byte sequence that cannot be decoded.</summary>
|
||||
/// <returns>A type derived from the <see cref="T:System.Text.DecoderFallback" /> class. The default value is a <see cref="T:System.Text.DecoderReplacementFallback" /> object that emits the QUESTION MARK character ("?", U+003F) in place of unknown byte sequences. </returns>
|
||||
/// <filterpriority>1</filterpriority>
|
||||
// Token: 0x17000ABB RID: 2747
|
||||
// (get) Token: 0x060036EE RID: 14062 RVA: 0x000BC7E0 File Offset: 0x000BA9E0
|
||||
public static DecoderFallback ReplacementFallback
|
||||
{
|
||||
get
|
||||
{
|
||||
return DecoderFallback.replacement_fallback;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000ABC RID: 2748
|
||||
// (get) Token: 0x060036EF RID: 14063 RVA: 0x000BC7E8 File Offset: 0x000BA9E8
|
||||
internal static DecoderFallback StandardSafeFallback
|
||||
{
|
||||
get
|
||||
{
|
||||
return DecoderFallback.standard_safe_fallback;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, initializes a new instance of the <see cref="T:System.Text.DecoderFallbackBuffer" /> class. </summary>
|
||||
/// <returns>An object that provides a fallback buffer for a decoder.</returns>
|
||||
/// <filterpriority>2</filterpriority>
|
||||
// Token: 0x060036F0 RID: 14064
|
||||
public abstract DecoderFallbackBuffer CreateFallbackBuffer();
|
||||
|
||||
// Token: 0x0400166C RID: 5740
|
||||
private static DecoderFallback exception_fallback = new DecoderExceptionFallback();
|
||||
|
||||
// Token: 0x0400166D RID: 5741
|
||||
private static DecoderFallback replacement_fallback = new DecoderReplacementFallback();
|
||||
|
||||
// Token: 0x0400166E RID: 5742
|
||||
private static DecoderFallback standard_safe_fallback = new DecoderReplacementFallback("\ufffd");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user