This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
@@ -0,0 +1,41 @@
using System;
namespace System.Runtime.CompilerServices
{
/// <summary>Holds a reference to a value.</summary>
/// <typeparam name="T">The type of the value that the <see cref="T:System.Runtime.CompilerServices.StrongBox`1" /> references.</typeparam>
/// <filterpriority>2</filterpriority>
// Token: 0x0200004D RID: 77
public class StrongBox<T> : IStrongBox
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.StrongBox`1" /> class by using the supplied value. </summary>
/// <param name="value">A value that the <see cref="T:System.Runtime.CompilerServices.StrongBox`1" /> will reference.</param>
/// <filterpriority>2</filterpriority>
// Token: 0x06000455 RID: 1109 RVA: 0x000146E0 File Offset: 0x000128E0
public StrongBox(T value)
{
this.Value = value;
}
/// <summary>Gets or sets the value that the <see cref="T:System.Runtime.CompilerServices.StrongBox`1" /> references.</summary>
/// <returns>The value that the <see cref="T:System.Runtime.CompilerServices.StrongBox`1" /> references.</returns>
// 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);
}
}
/// <summary>Represents the value that the <see cref="T:System.Runtime.CompilerServices.StrongBox`1" /> references.</summary>
// Token: 0x04000102 RID: 258
public T Value;
}
}