42 lines
1.8 KiB
C#
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: 0x02000560 RID: 1376
|
|
[Token(Token = "0x2000560")]
|
|
[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: 0x06002C42 RID: 11330 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002C42")]
|
|
[Address(RVA = "0x42BA20", Offset = "0x42AA20", VA = "0x18042BA20")]
|
|
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: 0x170006B5 RID: 1717
|
|
// (set) Token: 0x06002C43 RID: 11331 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170006B5")]
|
|
public bool WrapNonExceptionThrows
|
|
{
|
|
[Token(Token = "0x6002C43")]
|
|
[Address(RVA = "0x62ADC0", Offset = "0x629DC0", VA = "0x18062ADC0")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x04001943 RID: 6467
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4001943")]
|
|
private bool m_wrapNonExceptionThrows;
|
|
}
|
|
}
|