146 lines
5.8 KiB
C#
146 lines
5.8 KiB
C#
using System;
|
|
using System.Threading;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.ComponentModel
|
|
{
|
|
/// <summary>Tracks the lifetime of an asynchronous operation.</summary>
|
|
// Token: 0x020000E0 RID: 224
|
|
[Token(Token = "0x20000E0")]
|
|
public sealed class AsyncOperation
|
|
{
|
|
// Token: 0x0600053E RID: 1342 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600053E")]
|
|
[Address(RVA = "0xB8EB00", Offset = "0xB8DB00", VA = "0x180B8EB00")]
|
|
private AsyncOperation(object userSuppliedState, SynchronizationContext syncContext)
|
|
{
|
|
}
|
|
|
|
/// <summary>Finalizes the asynchronous operation.</summary>
|
|
// Token: 0x0600053F RID: 1343 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600053F")]
|
|
[Address(RVA = "0xB8E7A0", Offset = "0xB8D7A0", VA = "0x180B8E7A0", Slot = "1")]
|
|
protected override void Finalize()
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets or sets an object used to uniquely identify an asynchronous operation.</summary>
|
|
/// <returns>The state object passed to the asynchronous method invocation.</returns>
|
|
// Token: 0x170000D0 RID: 208
|
|
// (get) Token: 0x06000540 RID: 1344 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170000D0")]
|
|
public object UserSuppliedState
|
|
{
|
|
[Token(Token = "0x6000540")]
|
|
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the <see cref="T:System.Threading.SynchronizationContext" /> object that was passed to the constructor.</summary>
|
|
/// <returns>The <see cref="T:System.Threading.SynchronizationContext" /> object that was passed to the constructor.</returns>
|
|
// Token: 0x170000D1 RID: 209
|
|
// (get) Token: 0x06000541 RID: 1345 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170000D1")]
|
|
public SynchronizationContext SynchronizationContext
|
|
{
|
|
[Token(Token = "0x6000541")]
|
|
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Invokes a delegate on the thread or context appropriate for the application model.</summary>
|
|
/// <param name="d">A <see cref="T:System.Threading.SendOrPostCallback" /> object that wraps the delegate to be called when the operation ends.</param>
|
|
/// <param name="arg">An argument for the delegate contained in the <paramref name="d" /> parameter.</param>
|
|
/// <exception cref="T:System.InvalidOperationException">The <see cref="M:System.ComponentModel.AsyncOperation.PostOperationCompleted(System.Threading.SendOrPostCallback,System.Object)" /> method has been called previously for this task.</exception>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="d" /> is <see langword="null" />.</exception>
|
|
// Token: 0x06000542 RID: 1346 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000542")]
|
|
[Address(RVA = "0xB8E940", Offset = "0xB8D940", VA = "0x180B8E940")]
|
|
public void Post(SendOrPostCallback d, object arg)
|
|
{
|
|
}
|
|
|
|
/// <summary>Ends the lifetime of an asynchronous operation.</summary>
|
|
/// <param name="d">A <see cref="T:System.Threading.SendOrPostCallback" /> object that wraps the delegate to be called when the operation ends.</param>
|
|
/// <param name="arg">An argument for the delegate contained in the <paramref name="d" /> parameter.</param>
|
|
/// <exception cref="T:System.InvalidOperationException">
|
|
/// <see cref="M:System.ComponentModel.AsyncOperation.OperationCompleted" /> has been called previously for this task.</exception>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="d" /> is <see langword="null" />.</exception>
|
|
// Token: 0x06000543 RID: 1347 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000543")]
|
|
[Address(RVA = "0xB8E920", Offset = "0xB8D920", VA = "0x180B8E920")]
|
|
public void PostOperationCompleted(SendOrPostCallback d, object arg)
|
|
{
|
|
}
|
|
|
|
/// <summary>Ends the lifetime of an asynchronous operation.</summary>
|
|
/// <exception cref="T:System.InvalidOperationException">
|
|
/// <see cref="M:System.ComponentModel.AsyncOperation.OperationCompleted" /> has been called previously for this task.</exception>
|
|
// Token: 0x06000544 RID: 1348 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000544")]
|
|
[Address(RVA = "0xB8E900", Offset = "0xB8D900", VA = "0x180B8E900")]
|
|
public void OperationCompleted()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000545 RID: 1349 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000545")]
|
|
[Address(RVA = "0xB8E830", Offset = "0xB8D830", VA = "0x180B8E830")]
|
|
private void OperationCompletedCore()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000546 RID: 1350 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000546")]
|
|
[Address(RVA = "0xB8EA80", Offset = "0xB8DA80", VA = "0x180B8EA80")]
|
|
private void VerifyNotCompleted()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000547 RID: 1351 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000547")]
|
|
[Address(RVA = "0xB8EA00", Offset = "0xB8DA00", VA = "0x180B8EA00")]
|
|
private void VerifyDelegateNotNull(SendOrPostCallback d)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000548 RID: 1352 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000548")]
|
|
[Address(RVA = "0xB8E710", Offset = "0xB8D710", VA = "0x180B8E710")]
|
|
internal static AsyncOperation CreateOperation(object userSuppliedState, SynchronizationContext syncContext)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06000549 RID: 1353 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000549")]
|
|
[Address(RVA = "0xB8EB60", Offset = "0xB8DB60", VA = "0x180B8EB60")]
|
|
internal AsyncOperation()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400042B RID: 1067
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400042B")]
|
|
private SynchronizationContext syncContext;
|
|
|
|
// Token: 0x0400042C RID: 1068
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400042C")]
|
|
private object userSuppliedState;
|
|
|
|
// Token: 0x0400042D RID: 1069
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400042D")]
|
|
private bool alreadyCompleted;
|
|
}
|
|
}
|