using System;
namespace System.Runtime.CompilerServices
{
/// Holds a reference to a value.
/// The type of the value that the references.
/// 2
// Token: 0x0200004D RID: 77
public class StrongBox : IStrongBox
{
/// Initializes a new instance of the class by using the supplied value.
/// A value that the will reference.
/// 2
// Token: 0x06000455 RID: 1109 RVA: 0x000146E0 File Offset: 0x000128E0
public StrongBox(T value)
{
this.Value = value;
}
/// Gets or sets the value that the references.
/// The value that the references.
// Token: 0x17000047 RID: 71
// (get) Token: 0x06000456 RID: 1110 RVA: 0x000146F0 File Offset: 0x000128F0
// (set) Token: 0x06000457 RID: 1111 RVA: 0x00014700 File Offset: 0x00012900
object IStrongBox.Value
{
get
{
return this.Value;
}
set
{
this.Value = (T)((object)value);
}
}
/// Represents the value that the references.
// Token: 0x04000102 RID: 258
public T Value;
}
}