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: 0x020000E4 RID: 228
|
|
[Token(Token = "0x20000E4")]
|
|
public sealed class AsyncOperation
|
|
{
|
|
// Token: 0x06000554 RID: 1364 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000554")]
|
|
[Address(RVA = "0x491D20", Offset = "0x490B20", VA = "0x180491D20")]
|
|
private AsyncOperation(object userSuppliedState, SynchronizationContext syncContext)
|
|
{
|
|
}
|
|
|
|
/// <summary>Finalizes the asynchronous operation.</summary>
|
|
// Token: 0x06000555 RID: 1365 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000555")]
|
|
[Address(RVA = "0x4919C0", Offset = "0x4907C0", VA = "0x1804919C0", 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: 0x170000D4 RID: 212
|
|
// (get) Token: 0x06000556 RID: 1366 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170000D4")]
|
|
public object UserSuppliedState
|
|
{
|
|
[Token(Token = "0x6000556")]
|
|
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
|
|
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: 0x170000D5 RID: 213
|
|
// (get) Token: 0x06000557 RID: 1367 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170000D5")]
|
|
public SynchronizationContext SynchronizationContext
|
|
{
|
|
[Token(Token = "0x6000557")]
|
|
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
|
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: 0x06000558 RID: 1368 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000558")]
|
|
[Address(RVA = "0x491B60", Offset = "0x490960", VA = "0x180491B60")]
|
|
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: 0x06000559 RID: 1369 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000559")]
|
|
[Address(RVA = "0x491B40", Offset = "0x490940", VA = "0x180491B40")]
|
|
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: 0x0600055A RID: 1370 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600055A")]
|
|
[Address(RVA = "0x491B20", Offset = "0x490920", VA = "0x180491B20")]
|
|
public void OperationCompleted()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600055B RID: 1371 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600055B")]
|
|
[Address(RVA = "0x491A50", Offset = "0x490850", VA = "0x180491A50")]
|
|
private void OperationCompletedCore()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600055C RID: 1372 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600055C")]
|
|
[Address(RVA = "0x491CA0", Offset = "0x490AA0", VA = "0x180491CA0")]
|
|
private void VerifyNotCompleted()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600055D RID: 1373 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600055D")]
|
|
[Address(RVA = "0x491C20", Offset = "0x490A20", VA = "0x180491C20")]
|
|
private void VerifyDelegateNotNull(SendOrPostCallback d)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600055E RID: 1374 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600055E")]
|
|
[Address(RVA = "0x491930", Offset = "0x490730", VA = "0x180491930")]
|
|
internal static AsyncOperation CreateOperation(object userSuppliedState, SynchronizationContext syncContext)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x0600055F RID: 1375 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600055F")]
|
|
[Address(RVA = "0x491D80", Offset = "0x490B80", VA = "0x180491D80")]
|
|
internal AsyncOperation()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04000438 RID: 1080
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4000438")]
|
|
private SynchronizationContext syncContext;
|
|
|
|
// Token: 0x04000439 RID: 1081
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4000439")]
|
|
private object userSuppliedState;
|
|
|
|
// Token: 0x0400043A RID: 1082
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400043A")]
|
|
private bool alreadyCompleted;
|
|
}
|
|
}
|