a
This commit is contained in:
@@ -0,0 +1,138 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>Provides the basic functionality for propagating a synchronization context in various synchronization models.</summary>
|
||||
// Token: 0x02000328 RID: 808
|
||||
[Token(Token = "0x2000328")]
|
||||
public class SynchronizationContext
|
||||
{
|
||||
/// <summary>Creates a new instance of the <see cref="T:System.Threading.SynchronizationContext" /> class.</summary>
|
||||
// Token: 0x06001D73 RID: 7539 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D73")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
public SynchronizationContext()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, dispatches a synchronous message to a synchronization context.</summary>
|
||||
/// <param name="d">The <see cref="T:System.Threading.SendOrPostCallback" /> delegate to call.</param>
|
||||
/// <param name="state">The object passed to the delegate.</param>
|
||||
/// <exception cref="T:System.NotSupportedException">The method was called in a Windows Store app. The implementation of <see cref="T:System.Threading.SynchronizationContext" /> for Windows Store apps does not support the <see cref="M:System.Threading.SynchronizationContext.Send(System.Threading.SendOrPostCallback,System.Object)" /> method.</exception>
|
||||
// Token: 0x06001D74 RID: 7540 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D74")]
|
||||
[Address(RVA = "0x2927E00", Offset = "0x2926C00", VA = "0x182927E00", Slot = "4")]
|
||||
public virtual void Send(SendOrPostCallback d, object state)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, dispatches an asynchronous message to a synchronization context.</summary>
|
||||
/// <param name="d">The <see cref="T:System.Threading.SendOrPostCallback" /> delegate to call.</param>
|
||||
/// <param name="state">The object passed to the delegate.</param>
|
||||
// Token: 0x06001D75 RID: 7541 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D75")]
|
||||
[Address(RVA = "0x2927D80", Offset = "0x2926B80", VA = "0x182927D80", Slot = "5")]
|
||||
public virtual void Post(SendOrPostCallback d, object state)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, responds to the notification that an operation has started.</summary>
|
||||
// Token: 0x06001D76 RID: 7542 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D76")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "6")]
|
||||
public virtual void OperationStarted()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, responds to the notification that an operation has completed.</summary>
|
||||
// Token: 0x06001D77 RID: 7543 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D77")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "7")]
|
||||
public virtual void OperationCompleted()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Sets the current synchronization context.</summary>
|
||||
/// <param name="syncContext">The <see cref="T:System.Threading.SynchronizationContext" /> object to be set.</param>
|
||||
// Token: 0x06001D78 RID: 7544 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D78")]
|
||||
[Address(RVA = "0x2927E30", Offset = "0x2926C30", VA = "0x182927E30")]
|
||||
public static void SetSynchronizationContext(SynchronizationContext syncContext)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets the synchronization context for the current thread.</summary>
|
||||
/// <returns>A <see cref="T:System.Threading.SynchronizationContext" /> object representing the current synchronization context.</returns>
|
||||
// Token: 0x170003FE RID: 1022
|
||||
// (get) Token: 0x06001D79 RID: 7545 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170003FE")]
|
||||
public static SynchronizationContext Current
|
||||
{
|
||||
[Token(Token = "0x6001D79")]
|
||||
[Address(RVA = "0x2927EB0", Offset = "0x2926CB0", VA = "0x182927EB0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170003FF RID: 1023
|
||||
// (get) Token: 0x06001D7A RID: 7546 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170003FF")]
|
||||
internal static SynchronizationContext CurrentNoFlow
|
||||
{
|
||||
[Token(Token = "0x6001D7A")]
|
||||
[Address(RVA = "0x2927E70", Offset = "0x2926C70", VA = "0x182927E70")]
|
||||
[FriendAccessAllowed]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001D7B RID: 7547 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001D7B")]
|
||||
[Address(RVA = "0x2927BD0", Offset = "0x29269D0", VA = "0x182927BD0")]
|
||||
private static SynchronizationContext GetThreadLocalContext()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, creates a copy of the synchronization context.</summary>
|
||||
/// <returns>A new <see cref="T:System.Threading.SynchronizationContext" /> object.</returns>
|
||||
// Token: 0x06001D7C RID: 7548 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001D7C")]
|
||||
[Address(RVA = "0x2927B80", Offset = "0x2926980", VA = "0x182927B80", Slot = "8")]
|
||||
public virtual SynchronizationContext CreateCopy()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x040010C6 RID: 4294
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40010C6")]
|
||||
private SynchronizationContextProperties _props;
|
||||
|
||||
// Token: 0x040010C7 RID: 4295
|
||||
[Token(Token = "0x40010C7")]
|
||||
private static Type s_cachedPreparedType1;
|
||||
|
||||
// Token: 0x040010C8 RID: 4296
|
||||
[Token(Token = "0x40010C8")]
|
||||
private static Type s_cachedPreparedType2;
|
||||
|
||||
// Token: 0x040010C9 RID: 4297
|
||||
[Token(Token = "0x40010C9")]
|
||||
private static Type s_cachedPreparedType3;
|
||||
|
||||
// Token: 0x040010CA RID: 4298
|
||||
[Token(Token = "0x40010CA")]
|
||||
private static Type s_cachedPreparedType4;
|
||||
|
||||
// Token: 0x040010CB RID: 4299
|
||||
[Token(Token = "0x40010CB")]
|
||||
private static Type s_cachedPreparedType5;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user