using System; using System.Runtime.CompilerServices; using Cpp2IlInjected; namespace System.Threading { /// Provides the basic functionality for propagating a synchronization context in various synchronization models. // Token: 0x02000328 RID: 808 [Token(Token = "0x2000328")] public class SynchronizationContext { /// Creates a new instance of the class. // Token: 0x06001D73 RID: 7539 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001D73")] [Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")] public SynchronizationContext() { } /// When overridden in a derived class, dispatches a synchronous message to a synchronization context. /// The delegate to call. /// The object passed to the delegate. /// The method was called in a Windows Store app. The implementation of for Windows Store apps does not support the method. // 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) { } /// When overridden in a derived class, dispatches an asynchronous message to a synchronization context. /// The delegate to call. /// The object passed to the delegate. // 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) { } /// When overridden in a derived class, responds to the notification that an operation has started. // 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() { } /// When overridden in a derived class, responds to the notification that an operation has completed. // 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() { } /// Sets the current synchronization context. /// The object to be set. // 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) { } /// Gets the synchronization context for the current thread. /// A object representing the current synchronization context. // 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; } /// When overridden in a derived class, creates a copy of the synchronization context. /// A new object. // 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; } }