Files
2026-06-04 11:42:34 +02:00

44 lines
2.4 KiB
C#

using System;
using System.Runtime.InteropServices;
namespace System
{
/// <summary>The exception that is thrown when a unit of data is read from or written to an address that is not a multiple of the data size. This class cannot be inherited.</summary>
/// <filterpriority>2</filterpriority>
// Token: 0x02000652 RID: 1618
[ComVisible(true)]
[Serializable]
public sealed class DataMisalignedException : SystemException
{
/// <summary>Initializes a new instance of the <see cref="T:System.DataMisalignedException" /> class. </summary>
// Token: 0x06003D21 RID: 15649 RVA: 0x000CDB38 File Offset: 0x000CBD38
public DataMisalignedException()
: base(Locale.GetText("A datatype misalignment was detected in a load or store instruction."))
{
base.HResult = -2146233023;
}
/// <summary>Initializes a new instance of the <see cref="T:System.DataMisalignedException" /> class using the specified error message.</summary>
/// <param name="message">A <see cref="T:System.String" /> object that describes the error. The content of <paramref name="message" /> is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture. </param>
// Token: 0x06003D22 RID: 15650 RVA: 0x000CDB58 File Offset: 0x000CBD58
public DataMisalignedException(string message)
: base(message)
{
base.HResult = -2146233023;
}
/// <summary>Initializes a new instance of the <see cref="T:System.DataMisalignedException" /> class using the specified error message and underlying exception.</summary>
/// <param name="message">A <see cref="T:System.String" /> object that describes the error. The content of <paramref name="message" /> is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture. </param>
/// <param name="innerException">The exception that is the cause of the current <see cref="T:System.DataMisalignedException" />. If the <paramref name="innerException" /> parameter is not null, the current exception is raised in a catch block that handles the inner exception. </param>
// Token: 0x06003D23 RID: 15651 RVA: 0x000CDB6C File Offset: 0x000CBD6C
public DataMisalignedException(string message, Exception innerException)
: base(message, innerException)
{
base.HResult = -2146233023;
}
// Token: 0x04001893 RID: 6291
private const int Result = -2146233023;
}
}