Files
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

42 lines
1.8 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Specifies whether to wrap exceptions that do not derive from the <see cref="T:System.Exception" /> class with a <see cref="T:System.Runtime.CompilerServices.RuntimeWrappedException" /> object. This class cannot be inherited.</summary>
// Token: 0x02000542 RID: 1346
[Token(Token = "0x2000542")]
[AttributeUsage(AttributeTargets.Assembly)]
[Serializable]
public sealed class RuntimeCompatibilityAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" /> class.</summary>
// Token: 0x06002A33 RID: 10803 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A33")]
[Address(RVA = "0x4093D0", Offset = "0x4081D0", VA = "0x1804093D0")]
public RuntimeCompatibilityAttribute()
{
}
/// <summary>Gets or sets a value that indicates whether to wrap exceptions that do not derive from the <see cref="T:System.Exception" /> class with a <see cref="T:System.Runtime.CompilerServices.RuntimeWrappedException" /> object.</summary>
/// <returns>
/// <see langword="true" /> if exceptions that do not derive from the <see cref="T:System.Exception" /> class should appear wrapped with a <see cref="T:System.Runtime.CompilerServices.RuntimeWrappedException" /> object; otherwise, <see langword="false" />.</returns>
// Token: 0x1700063D RID: 1597
// (set) Token: 0x06002A34 RID: 10804 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700063D")]
public bool WrapNonExceptionThrows
{
[Token(Token = "0x6002A34")]
[Address(RVA = "0x495D50", Offset = "0x494B50", VA = "0x180495D50")]
set
{
}
}
// Token: 0x04001880 RID: 6272
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001880")]
private bool m_wrapNonExceptionThrows;
}
}