oh dear
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>Represents ambient data that is local to a given asynchronous control flow, such as an asynchronous method.</summary>
|
||||
/// <typeparam name="T">The type of the ambient data.</typeparam>
|
||||
// Token: 0x02000315 RID: 789
|
||||
[Token(Token = "0x2000315")]
|
||||
public sealed class AsyncLocal<T> : IAsyncLocal
|
||||
{
|
||||
/// <summary>Instantiates an <see cref="T:System.Threading.AsyncLocal`1" /> local instance that receives change notifications.</summary>
|
||||
/// <param name="valueChangedHandler">The delegate that is called whenever the current value changes on any thread.</param>
|
||||
// Token: 0x06001D0A RID: 7434 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D0A")]
|
||||
[Address(RVA = "0x1A83E00", Offset = "0x1A82C00", VA = "0x181A83E00")]
|
||||
public AsyncLocal(Action<AsyncLocalValueChangedArgs<T>> valueChangedHandler)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the value of the ambient data.</summary>
|
||||
/// <returns>The value of the ambient data. If no value has been set, the returned value is default(T).</returns>
|
||||
// Token: 0x170003ED RID: 1005
|
||||
// (get) Token: 0x06001D0B RID: 7435 RVA: 0x00002082 File Offset: 0x00000282
|
||||
// (set) Token: 0x06001D0C RID: 7436 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170003ED")]
|
||||
public T Value
|
||||
{
|
||||
[Token(Token = "0x6001D0B")]
|
||||
[Address(RVA = "0x28E5BF0", Offset = "0x28E49F0", VA = "0x1828E5BF0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x6001D0C")]
|
||||
[Address(RVA = "0x28E5CA0", Offset = "0x28E4AA0", VA = "0x1828E5CA0")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001D0D RID: 7437 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D0D")]
|
||||
[Address(RVA = "0x28E5A60", Offset = "0x28E4860", VA = "0x1828E5A60", Slot = "4")]
|
||||
void IAsyncLocal.OnValueChanged(object previousValueObj, object currentValueObj, bool contextChanged)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040010A6 RID: 4262
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x40010A6")]
|
||||
private readonly Action<AsyncLocalValueChangedArgs<T>> m_valueChangedHandler;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user