m
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: 0x02000342 RID: 834
|
||||
[Token(Token = "0x2000342")]
|
||||
public class SynchronizationContext
|
||||
{
|
||||
/// <summary>Creates a new instance of the <see cref="T:System.Threading.SynchronizationContext" /> class.</summary>
|
||||
// Token: 0x06001F75 RID: 8053 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F75")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
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: 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)
|
||||
{
|
||||
}
|
||||
|
||||
/// <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: 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)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, responds to the notification that an operation has started.</summary>
|
||||
// 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()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, responds to the notification that an operation has completed.</summary>
|
||||
// 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()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Sets the current synchronization context.</summary>
|
||||
/// <param name="syncContext">The <see cref="T:System.Threading.SynchronizationContext" /> object to be set.</param>
|
||||
// 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)
|
||||
{
|
||||
}
|
||||
|
||||
/// <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: 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;
|
||||
}
|
||||
|
||||
/// <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: 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user