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: 0x02000342 RID: 834
[Token(Token = "0x2000342")]
public class SynchronizationContext
{
/// Creates a new instance of the class.
// Token: 0x06001F75 RID: 8053 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001F75")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
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: 0x06001F76 RID: 8054 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001F76")]
[Address(RVA = "0xB46790", Offset = "0xB45790", VA = "0x180B46790", 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: 0x06001F77 RID: 8055 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001F77")]
[Address(RVA = "0xB46710", Offset = "0xB45710", VA = "0x180B46710", 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: 0x06001F78 RID: 8056 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001F78")]
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "6")]
public virtual void OperationStarted()
{
}
/// When overridden in a derived class, responds to the notification that an operation has completed.
// Token: 0x06001F79 RID: 8057 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001F79")]
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "7")]
public virtual void OperationCompleted()
{
}
/// Sets the current synchronization context.
/// The object to be set.
// Token: 0x06001F7A RID: 8058 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001F7A")]
[Address(RVA = "0xB467C0", Offset = "0xB457C0", VA = "0x180B467C0")]
public static void SetSynchronizationContext(SynchronizationContext syncContext)
{
}
/// Gets the synchronization context for the current thread.
/// A object representing the current synchronization context.
// Token: 0x17000474 RID: 1140
// (get) Token: 0x06001F7B RID: 8059 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000474")]
public static SynchronizationContext Current
{
[Token(Token = "0x6001F7B")]
[Address(RVA = "0xB46910", Offset = "0xB45910", VA = "0x180B46910")]
get
{
return null;
}
}
// Token: 0x17000475 RID: 1141
// (get) Token: 0x06001F7C RID: 8060 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000475")]
internal static SynchronizationContext CurrentNoFlow
{
[Token(Token = "0x6001F7C")]
[Address(RVA = "0xB46890", Offset = "0xB45890", VA = "0x180B46890")]
[FriendAccessAllowed]
get
{
return null;
}
}
// Token: 0x06001F7D RID: 8061 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001F7D")]
[Address(RVA = "0xB46560", Offset = "0xB45560", VA = "0x180B46560")]
private static SynchronizationContext GetThreadLocalContext()
{
return null;
}
/// When overridden in a derived class, creates a copy of the synchronization context.
/// A new object.
// Token: 0x06001F7E RID: 8062 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001F7E")]
[Address(RVA = "0xB46510", Offset = "0xB45510", VA = "0x180B46510", Slot = "8")]
public virtual SynchronizationContext CreateCopy()
{
return null;
}
// Token: 0x04001181 RID: 4481
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001181")]
private SynchronizationContextProperties _props;
// Token: 0x04001182 RID: 4482
[Token(Token = "0x4001182")]
private static Type s_cachedPreparedType1;
// Token: 0x04001183 RID: 4483
[Token(Token = "0x4001183")]
private static Type s_cachedPreparedType2;
// Token: 0x04001184 RID: 4484
[Token(Token = "0x4001184")]
private static Type s_cachedPreparedType3;
// Token: 0x04001185 RID: 4485
[Token(Token = "0x4001185")]
private static Type s_cachedPreparedType4;
// Token: 0x04001186 RID: 4486
[Token(Token = "0x4001186")]
private static Type s_cachedPreparedType5;
}
}