scripts
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
using System;
|
||||
|
||||
namespace System.Text
|
||||
{
|
||||
/// <summary>Throws a <see cref="T:System.Text.EncoderFallbackException" /> if an input character cannot be converted to an encoded output byte sequence. This class cannot be inherited.</summary>
|
||||
/// <filterpriority>2</filterpriority>
|
||||
// Token: 0x020005EA RID: 1514
|
||||
[Serializable]
|
||||
public sealed class EncoderExceptionFallback : EncoderFallback
|
||||
{
|
||||
/// <summary>Gets the maximum number of characters this instance can return.</summary>
|
||||
/// <returns>The return value is always zero.</returns>
|
||||
/// <filterpriority>2</filterpriority>
|
||||
// Token: 0x17000AC5 RID: 2757
|
||||
// (get) Token: 0x06003717 RID: 14103 RVA: 0x000BCD20 File Offset: 0x000BAF20
|
||||
public override int MaxCharCount
|
||||
{
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Text.EncoderExceptionFallback" /> class.</summary>
|
||||
/// <returns>A <see cref="T:System.Text.EncoderFallbackBuffer" /> object.</returns>
|
||||
/// <filterpriority>2</filterpriority>
|
||||
// Token: 0x06003718 RID: 14104 RVA: 0x000BCD24 File Offset: 0x000BAF24
|
||||
public override EncoderFallbackBuffer CreateFallbackBuffer()
|
||||
{
|
||||
return new EncoderExceptionFallbackBuffer();
|
||||
}
|
||||
|
||||
/// <summary>Indicates whether the current <see cref="T:System.Text.EncoderExceptionFallback" /> object and a specified object are equal.</summary>
|
||||
/// <returns>true if <paramref name="value" /> is not null (Nothing in Visual Basic .NET) and is a <see cref="T:System.Text.EncoderExceptionFallback" /> object; otherwise, false.</returns>
|
||||
/// <param name="value">An object that derives from the <see cref="T:System.Text.EncoderExceptionFallback" /> class.</param>
|
||||
/// <filterpriority>2</filterpriority>
|
||||
// Token: 0x06003719 RID: 14105 RVA: 0x000BCD2C File Offset: 0x000BAF2C
|
||||
public override bool Equals(object value)
|
||||
{
|
||||
return value is EncoderExceptionFallback;
|
||||
}
|
||||
|
||||
/// <summary>Retrieves the hash code for this instance.</summary>
|
||||
/// <returns>The return value is always the same arbitrary value, and has no special significance. </returns>
|
||||
/// <filterpriority>2</filterpriority>
|
||||
// Token: 0x0600371A RID: 14106 RVA: 0x000BCD38 File Offset: 0x000BAF38
|
||||
public override int GetHashCode()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user