This commit is contained in:
niko
2026-04-11 22:19:20 +02:00
parent 45b857ff11
commit 8fc35183db
17034 changed files with 2863552 additions and 0 deletions
@@ -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: 0x02000549 RID: 1353
[Token(Token = "0x2000549")]
public struct ConfiguredTaskAwaitable<TResult>
{
// Token: 0x06002A51 RID: 10833 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A51")]
[Address(RVA = "0x28E6E60", Offset = "0x28E5C60", VA = "0x1828E6E60")]
internal ConfiguredTaskAwaitable(Task<TResult> task, bool continueOnCapturedContext)
{
}
/// <summary>Returns an awaiter for this awaitable object.</summary>
/// <returns>The awaiter.</returns>
// Token: 0x06002A52 RID: 10834 RVA: 0x00016878 File Offset: 0x00014A78
[Token(Token = "0x6002A52")]
[Address(RVA = "0x723D40", Offset = "0x722B40", VA = "0x180723D40")]
public ConfiguredTaskAwaitable<TResult>.ConfiguredTaskAwaiter GetAwaiter()
{
return default(ConfiguredTaskAwaitable<TResult>.ConfiguredTaskAwaiter);
}
// Token: 0x04001888 RID: 6280
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4001888")]
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: 0x0200054A RID: 1354
[Token(Token = "0x200054A")]
public struct ConfiguredTaskAwaiter : ICriticalNotifyCompletion, INotifyCompletion
{
// Token: 0x06002A53 RID: 10835 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A53")]
[Address(RVA = "0x139F300", Offset = "0x139E100", VA = "0x18139F300")]
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: 0x17000643 RID: 1603
// (get) Token: 0x06002A54 RID: 10836 RVA: 0x00016890 File Offset: 0x00014A90
[Token(Token = "0x17000643")]
public bool IsCompleted
{
[Token(Token = "0x6002A54")]
[Address(RVA = "0x28E73F0", Offset = "0x28E61F0", VA = "0x1828E73F0")]
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: 0x06002A55 RID: 10837 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A55")]
[Address(RVA = "0x28E7390", Offset = "0x28E6190", VA = "0x1828E7390", 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: 0x06002A56 RID: 10838 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A56")]
[Address(RVA = "0x28E73C0", Offset = "0x28E61C0", VA = "0x1828E73C0", 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: 0x06002A57 RID: 10839 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002A57")]
[Address(RVA = "0x28E6EC0", Offset = "0x28E5CC0", VA = "0x1828E6EC0")]
public TResult GetResult()
{
return null;
}
// Token: 0x04001889 RID: 6281
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4001889")]
private readonly Task<TResult> m_task;
// Token: 0x0400188A RID: 6282
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x400188A")]
private readonly bool m_continueOnCapturedContext;
}
}
}