Files
2026-04-10 22:50:51 +02:00

127 lines
5.7 KiB
C#

using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// <summary>Throws an exception for a Win32 error code.</summary>
// Token: 0x020001AD RID: 429
[Token(Token = "0x20001AD")]
[Serializable]
public class Win32Exception : ExternalException, ISerializable
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Win32Exception" /> class with the last Win32 error that occurred.</summary>
// Token: 0x06000BC3 RID: 3011 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000BC3")]
[Address(RVA = "0x28B31A0", Offset = "0x28B1FA0", VA = "0x1828B31A0")]
public Win32Exception()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Win32Exception" /> class with the specified error.</summary>
/// <param name="error">The Win32 error code associated with this exception.</param>
// Token: 0x06000BC4 RID: 3012 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000BC4")]
[Address(RVA = "0x28B3100", Offset = "0x28B1F00", VA = "0x1828B3100")]
public Win32Exception(int error)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Win32Exception" /> class with the specified error and the specified detailed description.</summary>
/// <param name="error">The Win32 error code associated with this exception.</param>
/// <param name="message">A detailed description of the error.</param>
// Token: 0x06000BC5 RID: 3013 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000BC5")]
[Address(RVA = "0x28B3170", Offset = "0x28B1F70", VA = "0x1828B3170")]
public Win32Exception(int error, string message)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Win32Exception" /> class with the specified detailed description.</summary>
/// <param name="message">A detailed description of the error.</param>
// Token: 0x06000BC6 RID: 3014 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000BC6")]
[Address(RVA = "0x28B3080", Offset = "0x28B1E80", VA = "0x1828B3080")]
public Win32Exception(string message)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Win32Exception" /> class with the specified detailed description and the specified exception.</summary>
/// <param name="message">A detailed description of the error.</param>
/// <param name="innerException">A reference to the inner exception that is the cause of this exception.</param>
// Token: 0x06000BC7 RID: 3015 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000BC7")]
[Address(RVA = "0x28B3290", Offset = "0x28B2090", VA = "0x1828B3290")]
public Win32Exception(string message, Exception innerException)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Win32Exception" /> class with the specified context and the serialization information.</summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> associated with this exception.</param>
/// <param name="context">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that represents the context of this exception.</param>
// Token: 0x06000BC8 RID: 3016 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000BC8")]
[Address(RVA = "0x28B3200", Offset = "0x28B2000", VA = "0x1828B3200")]
protected Win32Exception(SerializationInfo info, StreamingContext context)
{
}
/// <summary>Gets the Win32 error code associated with this exception.</summary>
/// <returns>The Win32 error code associated with this exception.</returns>
// Token: 0x17000228 RID: 552
// (get) Token: 0x06000BC9 RID: 3017 RVA: 0x00006630 File Offset: 0x00004830
[Token(Token = "0x17000228")]
public int NativeErrorCode
{
[Token(Token = "0x6000BC9")]
[Address(RVA = "0x404240", Offset = "0x403040", VA = "0x180404240")]
get
{
return 0;
}
}
/// <summary>Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object with the file name and line number at which this <see cref="T:System.ComponentModel.Win32Exception" /> occurred.</summary>
/// <param name="info">A <see cref="T:System.Runtime.Serialization.SerializationInfo" />.</param>
/// <param name="context">The contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="info" /> is <see langword="null" />.</exception>
// Token: 0x06000BCA RID: 3018 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000BCA")]
[Address(RVA = "0x28B1BA0", Offset = "0x28B09A0", VA = "0x1828B1BA0", Slot = "10")]
public override void GetObjectData(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x06000BCB RID: 3019 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000BCB")]
[Address(RVA = "0x28B1A90", Offset = "0x28B0890", VA = "0x1828B1A90")]
internal static string GetErrorMessage(int error)
{
return null;
}
// Token: 0x06000BCC RID: 3020 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000BCC")]
[Address(RVA = "0x28B1C50", Offset = "0x28B0A50", VA = "0x1828B1C50")]
private static void InitializeErrorMessages()
{
}
// Token: 0x0400062B RID: 1579
[global::Cpp2IlInjected.FieldOffset(Offset = "0x88")]
[Token(Token = "0x400062B")]
private readonly int nativeErrorCode;
// Token: 0x0400062C RID: 1580
[Token(Token = "0x400062C")]
private static bool s_ErrorMessagesInitialized;
// Token: 0x0400062D RID: 1581
[Token(Token = "0x400062D")]
private static Dictionary<int, string> s_ErrorMessage;
}
}