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

43 lines
1.9 KiB
C#

using System;
using System.Runtime.Serialization;
namespace System.Runtime.CompilerServices
{
/// <summary>Wraps an exception that does not derive from the <see cref="T:System.Exception" /> class. This class cannot be inherited.</summary>
// Token: 0x020002AF RID: 687
[Serializable]
public sealed class RuntimeWrappedException : Exception
{
// Token: 0x060020F7 RID: 8439 RVA: 0x00078C54 File Offset: 0x00076E54
private RuntimeWrappedException()
{
}
/// <summary>Gets the object that was wrapped by the <see cref="T:System.Runtime.CompilerServices.RuntimeWrappedException" /> object.</summary>
/// <returns>The object that was wrapped by the <see cref="T:System.Runtime.CompilerServices.RuntimeWrappedException" /> object.</returns>
// Token: 0x17000633 RID: 1587
// (get) Token: 0x060020F8 RID: 8440 RVA: 0x00078C5C File Offset: 0x00076E5C
public object WrappedException
{
get
{
return this.wrapped_exception;
}
}
/// <summary>Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object with information about the exception.</summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object that holds the serialized object data about the exception being thrown. </param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> object that contains contextual information about the source or destination. </param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null.</exception>
// Token: 0x060020F9 RID: 8441 RVA: 0x00078C64 File Offset: 0x00076E64
public override void GetObjectData(SerializationInfo info, StreamingContext context)
{
base.GetObjectData(info, context);
info.AddValue("WrappedException", this.wrapped_exception);
}
// Token: 0x04000BDA RID: 3034
private object wrapped_exception;
}
}