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

69 lines
2.9 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System
{
/// <summary>Marks the program elements that are no longer in use. This class cannot be inherited.</summary>
// Token: 0x02000125 RID: 293
[Token(Token = "0x2000125")]
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Interface | AttributeTargets.Delegate)]
[ComVisible(true)]
[Serializable]
public sealed class ObsoleteAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.ObsoleteAttribute" /> class with default properties.</summary>
// Token: 0x06000AAC RID: 2732 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AAC")]
[Address(RVA = "0x2A0BDC0", Offset = "0x2A0ABC0", VA = "0x182A0BDC0")]
public ObsoleteAttribute()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ObsoleteAttribute" /> class with a specified workaround message.</summary>
/// <param name="message">The text string that describes alternative workarounds.</param>
// Token: 0x06000AAD RID: 2733 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AAD")]
[Address(RVA = "0x2A0BD90", Offset = "0x2A0AB90", VA = "0x182A0BD90")]
public ObsoleteAttribute(string message)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ObsoleteAttribute" /> class with a workaround message and a Boolean value indicating whether the obsolete element usage is considered an error.</summary>
/// <param name="message">The text string that describes alternative workarounds.</param>
/// <param name="error">
/// <see langword="true" /> if the obsolete element usage generates a compiler error; <see langword="false" /> if it generates a compiler warning.</param>
// Token: 0x06000AAE RID: 2734 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AAE")]
[Address(RVA = "0xB90C50", Offset = "0xB8FA50", VA = "0x180B90C50")]
public ObsoleteAttribute(string message, bool error)
{
}
/// <summary>Gets the workaround message, including a description of the alternative program elements.</summary>
/// <returns>The workaround text string.</returns>
// Token: 0x170000D5 RID: 213
// (get) Token: 0x06000AAF RID: 2735 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170000D5")]
public string Message
{
[Token(Token = "0x6000AAF")]
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
get
{
return null;
}
}
// Token: 0x0400046C RID: 1132
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x400046C")]
private string _message;
// Token: 0x0400046D RID: 1133
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x400046D")]
private bool _error;
}
}