m
This commit is contained in:
@@ -0,0 +1,111 @@
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.CompilerServices
|
||||
{
|
||||
/// <summary>Provides an awaitable object that enables configured awaits on a task.</summary>
|
||||
/// <typeparam name="TResult">The type of the result produced by this <see cref="T:System.Threading.Tasks.Task`1" />.</typeparam>
|
||||
// Token: 0x02000567 RID: 1383
|
||||
[Token(Token = "0x2000567")]
|
||||
public struct ConfiguredTaskAwaitable<TResult>
|
||||
{
|
||||
// Token: 0x06002C60 RID: 11360 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C60")]
|
||||
[Address(RVA = "0x2EFBA40", Offset = "0x2EFAA40", VA = "0x182EFBA40")]
|
||||
internal ConfiguredTaskAwaitable(Task<TResult> task, bool continueOnCapturedContext)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Returns an awaiter for this awaitable object.</summary>
|
||||
/// <returns>The awaiter.</returns>
|
||||
// Token: 0x06002C61 RID: 11361 RVA: 0x00018C48 File Offset: 0x00016E48
|
||||
[Token(Token = "0x6002C61")]
|
||||
[Address(RVA = "0x814AC0", Offset = "0x813AC0", VA = "0x180814AC0")]
|
||||
public ConfiguredTaskAwaitable<TResult>.ConfiguredTaskAwaiter GetAwaiter()
|
||||
{
|
||||
return default(ConfiguredTaskAwaitable<TResult>.ConfiguredTaskAwaiter);
|
||||
}
|
||||
|
||||
// Token: 0x0400194B RID: 6475
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x400194B")]
|
||||
private readonly ConfiguredTaskAwaitable<TResult>.ConfiguredTaskAwaiter m_configuredTaskAwaiter;
|
||||
|
||||
/// <summary>Provides an awaiter for an awaitable object(<see cref="T:System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1" />).</summary>
|
||||
/// <typeparam name="TResult" />
|
||||
// Token: 0x02000568 RID: 1384
|
||||
[Token(Token = "0x2000568")]
|
||||
public struct ConfiguredTaskAwaiter : ICriticalNotifyCompletion, INotifyCompletion
|
||||
{
|
||||
// Token: 0x06002C62 RID: 11362 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C62")]
|
||||
[Address(RVA = "0x9E9670", Offset = "0x9E8670", VA = "0x1809E9670")]
|
||||
internal ConfiguredTaskAwaiter(Task<TResult> task, bool continueOnCapturedContext)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets a value that specifies whether the task being awaited has been completed.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the task being awaited has been completed; otherwise, <see langword="false" />.</returns>
|
||||
/// <exception cref="T:System.NullReferenceException">The awaiter was not properly initialized.</exception>
|
||||
// Token: 0x170006BB RID: 1723
|
||||
// (get) Token: 0x06002C63 RID: 11363 RVA: 0x00018C60 File Offset: 0x00016E60
|
||||
[Token(Token = "0x170006BB")]
|
||||
public bool IsCompleted
|
||||
{
|
||||
[Token(Token = "0x6002C63")]
|
||||
[Address(RVA = "0x2CEC370", Offset = "0x2CEB370", VA = "0x182CEC370")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Schedules the continuation action for the task associated with this awaiter.</summary>
|
||||
/// <param name="continuation">The action to invoke when the await operation completes.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="continuation" /> argument is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.NullReferenceException">The awaiter was not properly initialized.</exception>
|
||||
// Token: 0x06002C64 RID: 11364 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C64")]
|
||||
[Address(RVA = "0x2CEC310", Offset = "0x2CEB310", VA = "0x182CEC310", Slot = "5")]
|
||||
public void OnCompleted(Action continuation)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Schedules the continuation action for the task associated with this awaiter.</summary>
|
||||
/// <param name="continuation">The action to invoke when the await operation completes.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="continuation" /> argument is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.NullReferenceException">The awaiter was not properly initialized.</exception>
|
||||
// Token: 0x06002C65 RID: 11365 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C65")]
|
||||
[Address(RVA = "0x2CEC340", Offset = "0x2CEB340", VA = "0x182CEC340", Slot = "4")]
|
||||
public void UnsafeOnCompleted(Action continuation)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Ends the await on the completed task.</summary>
|
||||
/// <returns>The result of the completed task.</returns>
|
||||
/// <exception cref="T:System.NullReferenceException">The awaiter was not properly initialized.</exception>
|
||||
/// <exception cref="T:System.Threading.Tasks.TaskCanceledException">The task was canceled.</exception>
|
||||
/// <exception cref="T:System.Exception">The task completed in a faulted state.</exception>
|
||||
// Token: 0x06002C66 RID: 11366 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002C66")]
|
||||
[Address(RVA = "0x2F02CE0", Offset = "0x2F01CE0", VA = "0x182F02CE0")]
|
||||
public TResult GetResult()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0400194C RID: 6476
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x400194C")]
|
||||
private readonly Task<TResult> m_task;
|
||||
|
||||
// Token: 0x0400194D RID: 6477
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x400194D")]
|
||||
private readonly bool m_continueOnCapturedContext;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user