using System;
using System.Runtime.Serialization;
namespace System.Runtime.CompilerServices
{
/// Wraps an exception that does not derive from the class. This class cannot be inherited.
// Token: 0x020002AF RID: 687
[Serializable]
public sealed class RuntimeWrappedException : Exception
{
// Token: 0x060020F7 RID: 8439 RVA: 0x00078C54 File Offset: 0x00076E54
private RuntimeWrappedException()
{
}
/// Gets the object that was wrapped by the object.
/// The object that was wrapped by the object.
// Token: 0x17000633 RID: 1587
// (get) Token: 0x060020F8 RID: 8440 RVA: 0x00078C5C File Offset: 0x00076E5C
public object WrappedException
{
get
{
return this.wrapped_exception;
}
}
/// Sets the object with information about the exception.
/// The object that holds the serialized object data about the exception being thrown.
/// The object that contains contextual information about the source or destination.
/// The parameter is null.
// 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;
}
}