scripts
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace System
|
||||
{
|
||||
/// <summary>The exception that is thrown for errors in an arithmetic, casting, or conversion operation.</summary>
|
||||
/// <filterpriority>2</filterpriority>
|
||||
// Token: 0x0200063A RID: 1594
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public class ArithmeticException : SystemException
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.ArithmeticException" /> class.</summary>
|
||||
// Token: 0x06003B24 RID: 15140 RVA: 0x000C9B4C File Offset: 0x000C7D4C
|
||||
public ArithmeticException()
|
||||
: base(Locale.GetText("Overflow or underflow in the arithmetic operation."))
|
||||
{
|
||||
base.HResult = -2147024362;
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.ArithmeticException" /> class with a specified error message.</summary>
|
||||
/// <param name="message">A <see cref="T:System.String" /> that describes the error. </param>
|
||||
// Token: 0x06003B25 RID: 15141 RVA: 0x000C9B6C File Offset: 0x000C7D6C
|
||||
public ArithmeticException(string message)
|
||||
: base(message)
|
||||
{
|
||||
base.HResult = -2147024362;
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.ArithmeticException" /> class with a specified error message and a reference to the inner exception that is the cause of this exception.</summary>
|
||||
/// <param name="message">The error message that explains the reason for the exception. </param>
|
||||
/// <param name="innerException">The exception that is the cause of the current exception. If the <paramref name="innerException" /> parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception. </param>
|
||||
// Token: 0x06003B26 RID: 15142 RVA: 0x000C9B80 File Offset: 0x000C7D80
|
||||
public ArithmeticException(string message, Exception innerException)
|
||||
: base(message, innerException)
|
||||
{
|
||||
base.HResult = -2147024362;
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.ArithmeticException" /> class with serialized data.</summary>
|
||||
/// <param name="info">The object that holds the serialized object data. </param>
|
||||
/// <param name="context">The contextual information about the source or destination. </param>
|
||||
// Token: 0x06003B27 RID: 15143 RVA: 0x000C9B98 File Offset: 0x000C7D98
|
||||
protected ArithmeticException(SerializationInfo info, StreamingContext context)
|
||||
: base(info, context)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040017A6 RID: 6054
|
||||
private const int Result = -2147024362;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user