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,150 @@
using System;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
// Token: 0x02000537 RID: 1335
[Token(Token = "0x2000537")]
internal struct AsyncMethodBuilderCore
{
// Token: 0x06002A1A RID: 10778 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A1A")]
[Address(RVA = "0x294B360", Offset = "0x294A160", VA = "0x18294B360")]
public void SetStateMachine(IAsyncStateMachine stateMachine)
{
}
// Token: 0x06002A1B RID: 10779 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002A1B")]
[Address(RVA = "0x294AE90", Offset = "0x2949C90", VA = "0x18294AE90")]
internal Action GetCompletionAction(Task taskForTracing, ref AsyncMethodBuilderCore.MoveNextRunner runnerToInitialize)
{
return null;
}
// Token: 0x06002A1C RID: 10780 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002A1C")]
[Address(RVA = "0x294B030", Offset = "0x2949E30", VA = "0x18294B030")]
private Action OutputAsyncCausalityEvents(Task innerTask, Action continuation)
{
return null;
}
// Token: 0x06002A1D RID: 10781 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A1D")]
[Address(RVA = "0x294B1B0", Offset = "0x2949FB0", VA = "0x18294B1B0")]
internal void PostBoxInitialization(IAsyncStateMachine stateMachine, AsyncMethodBuilderCore.MoveNextRunner runner, Task builtTask)
{
}
// Token: 0x06002A1E RID: 10782 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A1E")]
[Address(RVA = "0x294B420", Offset = "0x294A220", VA = "0x18294B420")]
internal static void ThrowAsync(Exception exception, SynchronizationContext targetContext)
{
}
// Token: 0x06002A1F RID: 10783 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002A1F")]
[Address(RVA = "0x294AD80", Offset = "0x2949B80", VA = "0x18294AD80")]
internal static Action CreateContinuationWrapper(Action continuation, Action invokeAction, [Optional] Task innerTask)
{
return null;
}
// Token: 0x06002A20 RID: 10784 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002A20")]
[Address(RVA = "0x294B690", Offset = "0x294A490", VA = "0x18294B690")]
internal static Task TryGetContinuationTask(Action action)
{
return null;
}
// Token: 0x04001873 RID: 6259
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
[Token(Token = "0x4001873")]
internal IAsyncStateMachine m_stateMachine;
// Token: 0x04001874 RID: 6260
[global::Cpp2IlInjected.FieldOffset(Offset = "0x8")]
[Token(Token = "0x4001874")]
internal Action m_defaultContextAction;
// Token: 0x02000538 RID: 1336
[Token(Token = "0x2000538")]
internal sealed class MoveNextRunner
{
// Token: 0x06002A21 RID: 10785 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A21")]
[Address(RVA = "0x4089A0", Offset = "0x4077A0", VA = "0x1804089A0")]
internal MoveNextRunner(ExecutionContext context, IAsyncStateMachine stateMachine)
{
}
// Token: 0x06002A22 RID: 10786 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A22")]
[Address(RVA = "0x2953B60", Offset = "0x2952960", VA = "0x182953B60")]
internal void Run()
{
}
// Token: 0x06002A23 RID: 10787 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A23")]
[Address(RVA = "0x2953AC0", Offset = "0x29528C0", VA = "0x182953AC0")]
private static void InvokeMoveNext(object stateMachine)
{
}
// Token: 0x04001875 RID: 6261
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001875")]
private readonly ExecutionContext m_context;
// Token: 0x04001876 RID: 6262
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4001876")]
internal IAsyncStateMachine m_stateMachine;
// Token: 0x04001877 RID: 6263
[Token(Token = "0x4001877")]
private static ContextCallback s_invokeMoveNext;
}
// Token: 0x02000539 RID: 1337
[Token(Token = "0x2000539")]
private class ContinuationWrapper
{
// Token: 0x06002A24 RID: 10788 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A24")]
[Address(RVA = "0x294C0A0", Offset = "0x294AEA0", VA = "0x18294C0A0")]
internal ContinuationWrapper(Action continuation, Action invokeAction, Task innerTask)
{
}
// Token: 0x06002A25 RID: 10789 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A25")]
[Address(RVA = "0x1992280", Offset = "0x1991080", VA = "0x181992280")]
internal void Invoke()
{
}
// Token: 0x04001878 RID: 6264
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001878")]
internal readonly Action m_continuation;
// Token: 0x04001879 RID: 6265
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4001879")]
private readonly Action m_invokeAction;
// Token: 0x0400187A RID: 6266
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x400187A")]
internal readonly Task m_innerTask;
}
}
}
@@ -0,0 +1,22 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Indicates whether a method is marked with either the Async or async modifier.</summary>
// Token: 0x0200053C RID: 1340
[Token(Token = "0x200053C")]
[AttributeUsage(AttributeTargets.Method)]
[Serializable]
public sealed class AsyncStateMachineAttribute : StateMachineAttribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.AsyncStateMachineAttribute" /> class.</summary>
/// <param name="stateMachineType">The type object for the underlying state machine type that's used to implement a state machine method.</param>
// Token: 0x06002A2C RID: 10796 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A2C")]
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
public AsyncStateMachineAttribute(Type stateMachineType)
{
}
}
}
@@ -0,0 +1,39 @@
using System;
using System.Threading.Tasks;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
// Token: 0x02000536 RID: 1334
[Token(Token = "0x2000536")]
internal static class AsyncTaskCache
{
// Token: 0x06002A17 RID: 10775 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002A17")]
[Address(RVA = "0x294B720", Offset = "0x294A520", VA = "0x18294B720")]
private static Task<int>[] CreateInt32Tasks()
{
return null;
}
// Token: 0x06002A18 RID: 10776 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002A18")]
[Address(RVA = "0x1B4AFB0", Offset = "0x1B49DB0", VA = "0x181B4AFB0")]
internal static Task<TResult> CreateCacheableTask<TResult>(TResult result)
{
return null;
}
// Token: 0x04001870 RID: 6256
[Token(Token = "0x4001870")]
internal static readonly Task<bool> TrueTask;
// Token: 0x04001871 RID: 6257
[Token(Token = "0x4001871")]
internal static readonly Task<bool> FalseTask;
// Token: 0x04001872 RID: 6258
[Token(Token = "0x4001872")]
internal static readonly Task<int>[] Int32Tasks;
}
}
@@ -0,0 +1,139 @@
using System;
using System.Diagnostics;
using System.Threading.Tasks;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Represents a builder for asynchronous methods that returns a task and provides a parameter for the result.</summary>
/// <typeparam name="TResult">The result to use to complete the task.</typeparam>
// Token: 0x02000535 RID: 1333
[Token(Token = "0x2000535")]
public struct AsyncTaskMethodBuilder<TResult>
{
/// <summary>Creates an instance of the <see cref="T:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1" /> class.</summary>
/// <returns>A new instance of the builder.</returns>
// Token: 0x06002A0C RID: 10764 RVA: 0x00016800 File Offset: 0x00014A00
[Token(Token = "0x6002A0C")]
[Address(RVA = "0x147A860", Offset = "0x1479660", VA = "0x18147A860")]
public static AsyncTaskMethodBuilder<TResult> Create()
{
return default(AsyncTaskMethodBuilder<TResult>);
}
/// <summary>Begins running the builder with the associated state machine.</summary>
/// <param name="stateMachine">The state machine instance, passed by reference.</param>
/// <typeparam name="TStateMachine">The type of the state machine.</typeparam>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="stateMachine" /> is <see langword="null" />.</exception>
// Token: 0x06002A0D RID: 10765 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A0D")]
[Address(RVA = "0x20BA4E0", Offset = "0x20B92E0", VA = "0x1820BA4E0")]
[DebuggerStepThrough]
public void Start<TStateMachine>(ref TStateMachine stateMachine) where TStateMachine : IAsyncStateMachine
{
}
/// <summary>Associates the builder with the specified state machine.</summary>
/// <param name="stateMachine">The state machine instance to associate with the builder.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="stateMachine" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.InvalidOperationException">The state machine was previously set.</exception>
// Token: 0x06002A0E RID: 10766 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A0E")]
[Address(RVA = "0x2E99AD0", Offset = "0x2E988D0", VA = "0x182E99AD0")]
public void SetStateMachine(IAsyncStateMachine stateMachine)
{
}
/// <summary>Schedules the state machine to proceed to the next action when the specified awaiter completes.</summary>
/// <param name="awaiter">The awaiter.</param>
/// <param name="stateMachine">The state machine.</param>
/// <typeparam name="TAwaiter">The type of the awaiter.</typeparam>
/// <typeparam name="TStateMachine">The type of the state machine.</typeparam>
// Token: 0x06002A0F RID: 10767 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A0F")]
[Address(RVA = "0x20AD560", Offset = "0x20AC360", VA = "0x1820AD560")]
public void AwaitOnCompleted<TAwaiter, TStateMachine>(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : INotifyCompletion where TStateMachine : IAsyncStateMachine
{
}
/// <summary>Schedules the state machine to proceed to the next action when the specified awaiter completes. This method can be called from partially trusted code.</summary>
/// <param name="awaiter">The awaiter.</param>
/// <param name="stateMachine">The state machine.</param>
/// <typeparam name="TAwaiter">The type of the awaiter.</typeparam>
/// <typeparam name="TStateMachine">The type of the state machine.</typeparam>
// Token: 0x06002A10 RID: 10768 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A10")]
[Address(RVA = "0x20B4AF0", Offset = "0x20B38F0", VA = "0x1820B4AF0")]
public void AwaitUnsafeOnCompleted<TAwaiter, TStateMachine>(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : ICriticalNotifyCompletion where TStateMachine : IAsyncStateMachine
{
}
/// <summary>Gets the task for this builder.</summary>
/// <returns>The task for this builder.</returns>
// Token: 0x1700063C RID: 1596
// (get) Token: 0x06002A11 RID: 10769 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x1700063C")]
public Task<TResult> Task
{
[Token(Token = "0x6002A11")]
[Address(RVA = "0x2E9A550", Offset = "0x2E99350", VA = "0x182E9A550")]
get
{
return null;
}
}
/// <summary>Marks the task as successfully completed.</summary>
/// <param name="result">The result to use to complete the task.</param>
/// <exception cref="T:System.InvalidOperationException">The task has already completed.</exception>
// Token: 0x06002A12 RID: 10770 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A12")]
[Address(RVA = "0x2E98820", Offset = "0x2E97620", VA = "0x182E98820")]
public void SetResult(TResult result)
{
}
// Token: 0x06002A13 RID: 10771 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A13")]
[Address(RVA = "0x2E98A10", Offset = "0x2E97810", VA = "0x182E98A10")]
internal void SetResult(Task<TResult> completedTask)
{
}
/// <summary>Marks the task as failed and binds the specified exception to the task.</summary>
/// <param name="exception">The exception to bind to the task.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="exception" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.InvalidOperationException">The task has already completed.</exception>
// Token: 0x06002A14 RID: 10772 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A14")]
[Address(RVA = "0x2E97BC0", Offset = "0x2E969C0", VA = "0x182E97BC0")]
public void SetException(Exception exception)
{
}
// Token: 0x06002A15 RID: 10773 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002A15")]
[Address(RVA = "0x2E90920", Offset = "0x2E8F720", VA = "0x182E90920")]
private Task<TResult> GetTaskForResult(TResult result)
{
return null;
}
// Token: 0x0400186D RID: 6253
[Token(Token = "0x400186D")]
internal static readonly Task<TResult> s_defaultResultTask;
// Token: 0x0400186E RID: 6254
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x400186E")]
private AsyncMethodBuilderCore m_coreState;
// Token: 0x0400186F RID: 6255
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x400186F")]
private Task<TResult> m_task;
}
}
@@ -0,0 +1,122 @@
using System;
using System.Diagnostics;
using System.Threading.Tasks;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Represents a builder for asynchronous methods that return a task.</summary>
// Token: 0x02000534 RID: 1332
[Token(Token = "0x2000534")]
public struct AsyncTaskMethodBuilder
{
/// <summary>Creates an instance of the <see cref="T:System.Runtime.CompilerServices.AsyncTaskMethodBuilder" /> class.</summary>
/// <returns>A new instance of the builder.</returns>
// Token: 0x06002A03 RID: 10755 RVA: 0x000167E8 File Offset: 0x000149E8
[Token(Token = "0x6002A03")]
[Address(RVA = "0x147A860", Offset = "0x1479660", VA = "0x18147A860")]
public static AsyncTaskMethodBuilder Create()
{
return default(AsyncTaskMethodBuilder);
}
/// <summary>Begins running the builder with the associated state machine.</summary>
/// <param name="stateMachine">The state machine instance, passed by reference.</param>
/// <typeparam name="TStateMachine">The type of the state machine.</typeparam>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="stateMachine" /> is <see langword="null" />.</exception>
// Token: 0x06002A04 RID: 10756 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A04")]
[Address(RVA = "0x19ED110", Offset = "0x19EBF10", VA = "0x1819ED110")]
[DebuggerStepThrough]
public void Start<TStateMachine>(ref TStateMachine stateMachine) where TStateMachine : IAsyncStateMachine
{
}
/// <summary>Associates the builder with the specified state machine.</summary>
/// <param name="stateMachine">The state machine instance to associate with the builder.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="stateMachine" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.InvalidOperationException">The state machine was previously set.</exception>
// Token: 0x06002A05 RID: 10757 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A05")]
[Address(RVA = "0x294B9E0", Offset = "0x294A7E0", VA = "0x18294B9E0")]
public void SetStateMachine(IAsyncStateMachine stateMachine)
{
}
/// <summary>Schedules the state machine to proceed to the next action when the specified awaiter completes.</summary>
/// <param name="awaiter">The awaiter.</param>
/// <param name="stateMachine">The state machine.</param>
/// <typeparam name="TAwaiter">The type of the awaiter.</typeparam>
/// <typeparam name="TStateMachine">The type of the state machine.</typeparam>
// Token: 0x06002A06 RID: 10758 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A06")]
[Address(RVA = "0x19EC900", Offset = "0x19EB700", VA = "0x1819EC900")]
public void AwaitOnCompleted<TAwaiter, TStateMachine>(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : INotifyCompletion where TStateMachine : IAsyncStateMachine
{
}
/// <summary>Schedules the state machine to proceed to the next action when the specified awaiter completes. This method can be called from partially trusted code.</summary>
/// <param name="awaiter">The awaiter.</param>
/// <param name="stateMachine">The state machine.</param>
/// <typeparam name="TAwaiter">The type of the awaiter.</typeparam>
/// <typeparam name="TStateMachine">The type of the state machine.</typeparam>
// Token: 0x06002A07 RID: 10759 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A07")]
[Address(RVA = "0x19ECA20", Offset = "0x19EB820", VA = "0x1819ECA20")]
public void AwaitUnsafeOnCompleted<TAwaiter, TStateMachine>(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : ICriticalNotifyCompletion where TStateMachine : IAsyncStateMachine
{
}
/// <summary>Gets the task for this builder.</summary>
/// <returns>The task for this builder.</returns>
/// <exception cref="T:System.InvalidOperationException">The builder is not initialized.</exception>
// Token: 0x1700063B RID: 1595
// (get) Token: 0x06002A08 RID: 10760 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x1700063B")]
public Task Task
{
[Token(Token = "0x6002A08")]
[Address(RVA = "0x294BAA0", Offset = "0x294A8A0", VA = "0x18294BAA0")]
get
{
return null;
}
}
/// <summary>Marks the task as successfully completed.</summary>
/// <exception cref="T:System.InvalidOperationException">The task has already completed.
/// -or-
/// The builder is not initialized.</exception>
// Token: 0x06002A09 RID: 10761 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A09")]
[Address(RVA = "0x294B970", Offset = "0x294A770", VA = "0x18294B970")]
public void SetResult()
{
}
/// <summary>Marks the task as failed and binds the specified exception to the task.</summary>
/// <param name="exception">The exception to bind to the task.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="exception" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.InvalidOperationException">The task has already completed.
/// -or-
/// The builder is not initialized.</exception>
// Token: 0x06002A0A RID: 10762 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A0A")]
[Address(RVA = "0x294B920", Offset = "0x294A720", VA = "0x18294B920")]
public void SetException(Exception exception)
{
}
// Token: 0x0400186B RID: 6251
[Token(Token = "0x400186B")]
private static readonly Task<VoidTaskResult> s_cachedCompleted;
// Token: 0x0400186C RID: 6252
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x400186C")]
private AsyncTaskMethodBuilder<VoidTaskResult> m_builder;
}
}
@@ -0,0 +1,117 @@
using System;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Represents a builder for asynchronous methods that do not return a value.</summary>
// Token: 0x02000533 RID: 1331
[Token(Token = "0x2000533")]
public struct AsyncVoidMethodBuilder
{
/// <summary>Creates an instance of the <see cref="T:System.Runtime.CompilerServices.AsyncVoidMethodBuilder" /> class.</summary>
/// <returns>A new instance of the builder.</returns>
// Token: 0x060029FB RID: 10747 RVA: 0x000167D0 File Offset: 0x000149D0
[Token(Token = "0x60029FB")]
[Address(RVA = "0x294BAE0", Offset = "0x294A8E0", VA = "0x18294BAE0")]
public static AsyncVoidMethodBuilder Create()
{
return default(AsyncVoidMethodBuilder);
}
/// <summary>Begins running the builder with the associated state machine.</summary>
/// <param name="stateMachine">The state machine instance, passed by reference.</param>
/// <typeparam name="TStateMachine">The type of the state machine.</typeparam>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="stateMachine" /> is <see langword="null" />.</exception>
// Token: 0x060029FC RID: 10748 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60029FC")]
[Address(RVA = "0x16D1600", Offset = "0x16D0400", VA = "0x1816D1600")]
[DebuggerStepThrough]
public void Start<TStateMachine>(ref TStateMachine stateMachine) where TStateMachine : IAsyncStateMachine
{
}
/// <summary>Associates the builder with the specified state machine.</summary>
/// <param name="stateMachine">The state machine instance to associate with the builder.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="stateMachine" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.InvalidOperationException">The state machine was previously set.</exception>
// Token: 0x060029FD RID: 10749 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60029FD")]
[Address(RVA = "0x294BDD0", Offset = "0x294ABD0", VA = "0x18294BDD0")]
public void SetStateMachine(IAsyncStateMachine stateMachine)
{
}
/// <summary>Schedules the state machine to proceed to the next action when the specified awaiter completes. This method can be called from partially trusted code.</summary>
/// <param name="awaiter">The awaiter.</param>
/// <param name="stateMachine">The state machine.</param>
/// <typeparam name="TAwaiter">The type of the awaiter.</typeparam>
/// <typeparam name="TStateMachine">The type of the state machine.</typeparam>
// Token: 0x060029FE RID: 10750 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60029FE")]
[Address(RVA = "0x16CB490", Offset = "0x16CA290", VA = "0x1816CB490")]
public void AwaitUnsafeOnCompleted<TAwaiter, TStateMachine>(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : ICriticalNotifyCompletion where TStateMachine : IAsyncStateMachine
{
}
/// <summary>Marks the method builder as successfully completed.</summary>
/// <exception cref="T:System.InvalidOperationException">The builder is not initialized.</exception>
// Token: 0x060029FF RID: 10751 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60029FF")]
[Address(RVA = "0x294BD30", Offset = "0x294AB30", VA = "0x18294BD30")]
public void SetResult()
{
}
/// <summary>Binds an exception to the method builder.</summary>
/// <param name="exception">The exception to bind.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="exception" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.InvalidOperationException">The builder is not initialized.</exception>
// Token: 0x06002A00 RID: 10752 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A00")]
[Address(RVA = "0x294BBD0", Offset = "0x294A9D0", VA = "0x18294BBD0")]
public void SetException(Exception exception)
{
}
// Token: 0x06002A01 RID: 10753 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A01")]
[Address(RVA = "0x294BB50", Offset = "0x294A950", VA = "0x18294BB50")]
private void NotifySynchronizationContextOfCompletion()
{
}
// Token: 0x1700063A RID: 1594
// (get) Token: 0x06002A02 RID: 10754 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x1700063A")]
private Task Task
{
[Token(Token = "0x6002A02")]
[Address(RVA = "0x294BDE0", Offset = "0x294ABE0", VA = "0x18294BDE0")]
get
{
return null;
}
}
// Token: 0x04001868 RID: 6248
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4001868")]
private SynchronizationContext m_synchronizationContext;
// Token: 0x04001869 RID: 6249
[FieldOffset(Offset = "0x8")]
[Token(Token = "0x4001869")]
private AsyncMethodBuilderCore m_coreState;
// Token: 0x0400186A RID: 6250
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x400186A")]
private Task m_task;
}
}
@@ -0,0 +1,20 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Allows you to obtain the method or property name of the caller to the method.</summary>
// Token: 0x0200053D RID: 1341
[Token(Token = "0x200053D")]
[AttributeUsage(AttributeTargets.Parameter)]
public sealed class CallerMemberNameAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.CallerMemberNameAttribute" /> class.</summary>
// Token: 0x06002A2D RID: 10797 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A2D")]
[Address(RVA = "0x4093D0", Offset = "0x4081D0", VA = "0x1804093D0")]
public CallerMemberNameAttribute()
{
}
}
}
@@ -0,0 +1,20 @@
using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Specifies parameters that control the strictness of the code generated by the common language runtime's just-in-time (JIT) compiler.</summary>
// Token: 0x02000551 RID: 1361
[Token(Token = "0x2000551")]
[Flags]
[ComVisible(true)]
[Serializable]
public enum CompilationRelaxations
{
/// <summary>Marks an assembly as not requiring string-literal interning.</summary>
// Token: 0x04001896 RID: 6294
[Token(Token = "0x4001896")]
NoStringInterning = 8
}
}
@@ -0,0 +1,54 @@
using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Controls the strictness of the code generated by the common language runtime's just-in-time (JIT) compiler.</summary>
// Token: 0x02000552 RID: 1362
[Token(Token = "0x2000552")]
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Module | AttributeTargets.Class | AttributeTargets.Method)]
[ComVisible(true)]
[Serializable]
public class CompilationRelaxationsAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.CompilationRelaxationsAttribute" /> class with the specified compilation relaxations.</summary>
/// <param name="relaxations">The compilation relaxations.</param>
// Token: 0x06002A64 RID: 10852 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A64")]
[Address(RVA = "0x4D83A0", Offset = "0x4D71A0", VA = "0x1804D83A0")]
public CompilationRelaxationsAttribute(int relaxations)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.CompilationRelaxationsAttribute" /> class with the specified <see cref="T:System.Runtime.CompilerServices.CompilationRelaxations" /> value.</summary>
/// <param name="relaxations">One of the <see cref="T:System.Runtime.CompilerServices.CompilationRelaxations" /> values.</param>
// Token: 0x06002A65 RID: 10853 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A65")]
[Address(RVA = "0x4D83A0", Offset = "0x4D71A0", VA = "0x1804D83A0")]
public CompilationRelaxationsAttribute(CompilationRelaxations relaxations)
{
}
/// <summary>Gets the compilation relaxations specified when the current object was constructed.</summary>
/// <returns>The compilation relaxations specified when the current object was constructed.
/// Use the <see cref="T:System.Runtime.CompilerServices.CompilationRelaxations" /> enumeration with the <see cref="P:System.Runtime.CompilerServices.CompilationRelaxationsAttribute.CompilationRelaxations" /> property.</returns>
// Token: 0x17000646 RID: 1606
// (get) Token: 0x06002A66 RID: 10854 RVA: 0x000168D8 File Offset: 0x00014AD8
[Token(Token = "0x17000646")]
public int CompilationRelaxations
{
[Token(Token = "0x6002A66")]
[Address(RVA = "0x3FA560", Offset = "0x3F9360", VA = "0x1803FA560")]
get
{
return 0;
}
}
// Token: 0x04001897 RID: 6295
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001897")]
private int m_relaxations;
}
}
@@ -0,0 +1,21 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Distinguishes a compiler-generated element from a user-generated element. This class cannot be inherited.</summary>
// Token: 0x02000553 RID: 1363
[Token(Token = "0x2000553")]
[AttributeUsage(AttributeTargets.All)]
[Serializable]
public sealed class CompilerGeneratedAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.CompilerGeneratedAttribute" /> class.</summary>
// Token: 0x06002A67 RID: 10855 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A67")]
[Address(RVA = "0x4093D0", Offset = "0x4081D0", VA = "0x1804093D0")]
public CompilerGeneratedAttribute()
{
}
}
}
@@ -0,0 +1,148 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Enables compilers to dynamically attach object fields to managed objects.</summary>
/// <typeparam name="TKey">The reference type to which the field is attached.</typeparam>
/// <typeparam name="TValue">The field's type. This must be a reference type.</typeparam>
// Token: 0x02000562 RID: 1378
[Token(Token = "0x2000562")]
public sealed class ConditionalWeakTable<TKey, TValue> where TKey : class where TValue : class
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.ConditionalWeakTable`2" /> class.</summary>
// Token: 0x06002A7D RID: 10877 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A7D")]
[Address(RVA = "0x28E6DC0", Offset = "0x28E5BC0", VA = "0x1828E6DC0")]
public ConditionalWeakTable()
{
}
/// <summary>Ensures that resources are freed and other cleanup operations are performed when the garbage collector reclaims the <see cref="T:System.Runtime.CompilerServices.ConditionalWeakTable`2" /> object.</summary>
// Token: 0x06002A7E RID: 10878 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A7E")]
[Address(RVA = "0x28E6000", Offset = "0x28E4E00", VA = "0x1828E6000", Slot = "1")]
protected override void Finalize()
{
}
// Token: 0x06002A7F RID: 10879 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A7F")]
[Address(RVA = "0x28E62B0", Offset = "0x28E50B0", VA = "0x1828E62B0")]
private void RehashWithoutResize()
{
}
// Token: 0x06002A80 RID: 10880 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A80")]
[Address(RVA = "0x28E6240", Offset = "0x28E5040", VA = "0x1828E6240")]
private void RecomputeSize()
{
}
// Token: 0x06002A81 RID: 10881 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A81")]
[Address(RVA = "0x28E6530", Offset = "0x28E5330", VA = "0x1828E6530")]
private void Rehash()
{
}
/// <summary>Adds a key to the table.</summary>
/// <param name="key">The key to add. <paramref name="key" /> represents the object to which the property is attached.</param>
/// <param name="value">The key's property value.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="key" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="key" /> already exists.</exception>
// Token: 0x06002A82 RID: 10882 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A82")]
[Address(RVA = "0x28E5D20", Offset = "0x28E4B20", VA = "0x1828E5D20")]
public void Add(TKey key, TValue value)
{
}
/// <summary>Removes a key and its value from the table.</summary>
/// <param name="key">The key to remove.</param>
/// <returns>
/// <see langword="true" /> if the key is found and removed; otherwise, <see langword="false" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="key" /> is <see langword="null" />.</exception>
// Token: 0x06002A83 RID: 10883 RVA: 0x00016968 File Offset: 0x00014B68
[Token(Token = "0x6002A83")]
[Address(RVA = "0x28E6860", Offset = "0x28E5660", VA = "0x1828E6860")]
public bool Remove(TKey key)
{
return default(bool);
}
/// <summary>Gets the value of the specified key.</summary>
/// <param name="key">The key that represents an object with an attached property.</param>
/// <param name="value">When this method returns, contains the attached property value. If <paramref name="key" /> is not found, <paramref name="value" /> contains the default value.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="key" /> is found; otherwise, <see langword="false" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="key" /> is <see langword="null" />.</exception>
// Token: 0x06002A84 RID: 10884 RVA: 0x00016980 File Offset: 0x00014B80
[Token(Token = "0x6002A84")]
[Address(RVA = "0x28E6B00", Offset = "0x28E5900", VA = "0x1828E6B00")]
public bool TryGetValue(TKey key, out TValue value)
{
return default(bool);
}
/// <summary>Atomically searches for a specified key in the table and returns the corresponding value. If the key does not exist in the table, the method invokes a callback method to create a value that is bound to the specified key.</summary>
/// <param name="key">The key to search for. <paramref name="key" /> represents the object to which the property is attached.</param>
/// <param name="createValueCallback">A delegate to a method that can create a value for the given <paramref name="key" />. It has a single parameter of type TKey, and returns a value of type TValue.</param>
/// <returns>The value attached to <paramref name="key" />, if <paramref name="key" /> already exists in the table; otherwise, the new value returned by the <paramref name="createValueCallback" /> delegate.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="key" /> or <paramref name="createValueCallback" /> is <see langword="null" />.</exception>
// Token: 0x06002A85 RID: 10885 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002A85")]
[Address(RVA = "0x28E6070", Offset = "0x28E4E70", VA = "0x1828E6070")]
public TValue GetValue(TKey key, ConditionalWeakTable<TKey, TValue>.CreateValueCallback createValueCallback)
{
return null;
}
// Token: 0x040018A1 RID: 6305
[Token(Token = "0x40018A1")]
private const int INITIAL_SIZE = 13;
// Token: 0x040018A2 RID: 6306
[Token(Token = "0x40018A2")]
private const float LOAD_FACTOR = 0.7f;
// Token: 0x040018A3 RID: 6307
[Token(Token = "0x40018A3")]
private const float COMPACT_FACTOR = 0.5f;
// Token: 0x040018A4 RID: 6308
[Token(Token = "0x40018A4")]
private const float EXPAND_FACTOR = 1.1f;
// Token: 0x040018A5 RID: 6309
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x40018A5")]
private Ephemeron[] data;
// Token: 0x040018A6 RID: 6310
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x40018A6")]
private object _lock;
// Token: 0x040018A7 RID: 6311
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x40018A7")]
private int size;
/// <summary>Represents a method that creates a non-default value to add as part of a key/value pair to a <see cref="T:System.Runtime.CompilerServices.ConditionalWeakTable`2" /> object.</summary>
/// <param name="key">The key that belongs to the value to create.</param>
/// <typeparam name="TKey" />
/// <typeparam name="TValue" />
/// <returns>An instance of a reference type that represents the value to attach to the specified key.</returns>
// Token: 0x02000563 RID: 1379
// (Invoke) Token: 0x06002A87 RID: 10887
[Token(Token = "0x2000563")]
public delegate TValue CreateValueCallback(TKey key);
}
}
@@ -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;
}
}
}
@@ -0,0 +1,107 @@
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>
// Token: 0x02000547 RID: 1351
[Token(Token = "0x2000547")]
public struct ConfiguredTaskAwaitable
{
// Token: 0x06002A4A RID: 10826 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A4A")]
[Address(RVA = "0x294C070", Offset = "0x294AE70", VA = "0x18294C070")]
internal ConfiguredTaskAwaitable(Task task, bool continueOnCapturedContext)
{
}
/// <summary>Returns an awaiter for this awaitable object.</summary>
/// <returns>The awaiter.</returns>
// Token: 0x06002A4B RID: 10827 RVA: 0x00016848 File Offset: 0x00014A48
[Token(Token = "0x6002A4B")]
[Address(RVA = "0x723D40", Offset = "0x722B40", VA = "0x180723D40")]
public ConfiguredTaskAwaitable.ConfiguredTaskAwaiter GetAwaiter()
{
return default(ConfiguredTaskAwaitable.ConfiguredTaskAwaiter);
}
// Token: 0x04001885 RID: 6277
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4001885")]
private readonly ConfiguredTaskAwaitable.ConfiguredTaskAwaiter m_configuredTaskAwaiter;
/// <summary>Provides an awaiter for an awaitable (<see cref="T:System.Runtime.CompilerServices.ConfiguredTaskAwaitable" />) object.</summary>
// Token: 0x02000548 RID: 1352
[Token(Token = "0x2000548")]
public struct ConfiguredTaskAwaiter : ICriticalNotifyCompletion, INotifyCompletion
{
// Token: 0x06002A4C RID: 10828 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A4C")]
[Address(RVA = "0x139F300", Offset = "0x139E100", VA = "0x18139F300")]
internal ConfiguredTaskAwaiter(Task task, bool continueOnCapturedContext)
{
}
/// <summary>Gets a value that specifies whether the task being awaited is completed.</summary>
/// <returns>
/// <see langword="true" /> if the task being awaited is completed; otherwise, <see langword="false" />.</returns>
/// <exception cref="T:System.NullReferenceException">The awaiter was not properly initialized.</exception>
// Token: 0x17000642 RID: 1602
// (get) Token: 0x06002A4D RID: 10829 RVA: 0x00016860 File Offset: 0x00014A60
[Token(Token = "0x17000642")]
public bool IsCompleted
{
[Token(Token = "0x6002A4D")]
[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: 0x06002A4E RID: 10830 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A4E")]
[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: 0x06002A4F RID: 10831 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A4F")]
[Address(RVA = "0x28E73C0", Offset = "0x28E61C0", VA = "0x1828E73C0", Slot = "4")]
public void UnsafeOnCompleted(Action continuation)
{
}
/// <summary>Ends the await on the completed task.</summary>
/// <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: 0x06002A50 RID: 10832 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A50")]
[Address(RVA = "0x294C090", Offset = "0x294AE90", VA = "0x18294C090")]
public void GetResult()
{
}
// Token: 0x04001886 RID: 6278
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4001886")]
private readonly Task m_task;
// Token: 0x04001887 RID: 6279
[FieldOffset(Offset = "0x8")]
[Token(Token = "0x4001887")]
private readonly bool m_continueOnCapturedContext;
}
}
}
@@ -0,0 +1,35 @@
using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Defines a constant value that a compiler can persist for a field or method parameter.</summary>
// Token: 0x02000554 RID: 1364
[Token(Token = "0x2000554")]
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter)]
[ComVisible(true)]
[Serializable]
public abstract class CustomConstantAttribute : Attribute
{
/// <summary>Gets the constant value stored by this attribute.</summary>
/// <returns>The constant value stored by this attribute.</returns>
// Token: 0x17000647 RID: 1607
// (get) Token: 0x06002A68 RID: 10856
[Token(Token = "0x17000647")]
public abstract object Value
{
[Token(Token = "0x6002A68")]
[Address(Slot = "7")]
get;
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.CustomConstantAttribute" /> class.</summary>
// Token: 0x06002A69 RID: 10857 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A69")]
[Address(RVA = "0x4093D0", Offset = "0x4081D0", VA = "0x1804093D0")]
protected CustomConstantAttribute()
{
}
}
}
@@ -0,0 +1,35 @@
using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Persists an 8-byte <see cref="T:System.DateTime" /> constant for a field or parameter.</summary>
// Token: 0x02000555 RID: 1365
[Token(Token = "0x2000555")]
[ComVisible(true)]
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter)]
[Serializable]
public sealed class DateTimeConstantAttribute : CustomConstantAttribute
{
/// <summary>Gets the number of 100-nanosecond ticks that represent the date and time of this instance.</summary>
/// <returns>The number of 100-nanosecond ticks that represent the date and time of this instance.</returns>
// Token: 0x17000648 RID: 1608
// (get) Token: 0x06002A6A RID: 10858 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000648")]
public override object Value
{
[Token(Token = "0x6002A6A")]
[Address(RVA = "0x294C1C0", Offset = "0x294AFC0", VA = "0x18294C1C0", Slot = "7")]
get
{
return null;
}
}
// Token: 0x04001898 RID: 6296
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001898")]
private DateTime date;
}
}
@@ -0,0 +1,51 @@
using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Stores the value of a <see cref="T:System.Decimal" /> constant in metadata. This class cannot be inherited.</summary>
// Token: 0x02000556 RID: 1366
[Token(Token = "0x2000556")]
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter)]
[ComVisible(true)]
[Serializable]
public sealed class DecimalConstantAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.DecimalConstantAttribute" /> class with the specified unsigned integer values.</summary>
/// <param name="scale">The power of 10 scaling factor that indicates the number of digits to the right of the decimal point. Valid values are 0 through 28 inclusive.</param>
/// <param name="sign">A value of 0 indicates a positive value, and a value of 1 indicates a negative value.</param>
/// <param name="hi">The high 32 bits of the 96-bit <see cref="P:System.Runtime.CompilerServices.DecimalConstantAttribute.Value" />.</param>
/// <param name="mid">The middle 32 bits of the 96-bit <see cref="P:System.Runtime.CompilerServices.DecimalConstantAttribute.Value" />.</param>
/// <param name="low">The low 32 bits of the 96-bit <see cref="P:System.Runtime.CompilerServices.DecimalConstantAttribute.Value" />.</param>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="scale" /> &gt; 28.</exception>
// Token: 0x06002A6B RID: 10859 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A6B")]
[Address(RVA = "0x294C210", Offset = "0x294B010", VA = "0x18294C210")]
[CLSCompliant(false)]
public DecimalConstantAttribute(byte scale, byte sign, uint hi, uint mid, uint low)
{
}
/// <summary>Gets the decimal constant stored in this attribute.</summary>
/// <returns>The decimal constant stored in this attribute.</returns>
// Token: 0x17000649 RID: 1609
// (get) Token: 0x06002A6C RID: 10860 RVA: 0x000168F0 File Offset: 0x00014AF0
[Token(Token = "0x17000649")]
public decimal Value
{
[Token(Token = "0x6002A6C")]
[Address(RVA = "0x6808B0", Offset = "0x67F6B0", VA = "0x1806808B0")]
get
{
return 0m;
}
}
// Token: 0x04001899 RID: 6297
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001899")]
private decimal dec;
}
}
@@ -0,0 +1,27 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Provides a hint to the common language runtime (CLR) indicating how likely a dependency is to be loaded. This class is used in a dependent assembly to indicate what hint should be used when the parent does not specify the <see cref="T:System.Runtime.CompilerServices.DependencyAttribute" /> attribute. This class cannot be inherited.</summary>
// Token: 0x0200054F RID: 1359
[Token(Token = "0x200054F")]
[AttributeUsage(AttributeTargets.Assembly)]
[Serializable]
public sealed class DefaultDependencyAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.DefaultDependencyAttribute" /> class with the specified <see cref="T:System.Runtime.CompilerServices.LoadHint" /> binding.</summary>
/// <param name="loadHintArgument">One of the <see cref="T:System.Runtime.CompilerServices.LoadHint" /> values that indicates the default binding preference.</param>
// Token: 0x06002A62 RID: 10850 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A62")]
[Address(RVA = "0x4D83A0", Offset = "0x4D71A0", VA = "0x1804D83A0")]
public DefaultDependencyAttribute(LoadHint loadHintArgument)
{
}
// Token: 0x04001892 RID: 6290
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001892")]
private LoadHint loadHint;
}
}
@@ -0,0 +1,33 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Indicates when a dependency is to be loaded by the referring assembly. This class cannot be inherited.</summary>
// Token: 0x02000550 RID: 1360
[Token(Token = "0x2000550")]
[AttributeUsage(AttributeTargets.Assembly)]
[Serializable]
public sealed class DependencyAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.DependencyAttribute" /> class with the specified <see cref="T:System.Runtime.CompilerServices.LoadHint" /> value.</summary>
/// <param name="dependentAssemblyArgument">The dependent assembly to bind to.</param>
/// <param name="loadHintArgument">One of the <see cref="T:System.Runtime.CompilerServices.LoadHint" /> values.</param>
// Token: 0x06002A63 RID: 10851 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A63")]
[Address(RVA = "0x582150", Offset = "0x580F50", VA = "0x180582150")]
public DependencyAttribute(string dependentAssemblyArgument, LoadHint loadHintArgument)
{
}
// Token: 0x04001893 RID: 6291
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001893")]
private string dependentAssembly;
// Token: 0x04001894 RID: 6292
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4001894")]
private LoadHint loadHint;
}
}
@@ -0,0 +1,20 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
// Token: 0x02000561 RID: 1377
[Token(Token = "0x2000561")]
internal struct Ephemeron
{
// Token: 0x0400189F RID: 6303
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x400189F")]
internal object key;
// Token: 0x040018A0 RID: 6304
[FieldOffset(Offset = "0x8")]
[Token(Token = "0x40018A0")]
internal object value;
}
}
@@ -0,0 +1,20 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Indicates that a method is an extension method, or that a class or assembly contains extension methods.</summary>
// Token: 0x02000557 RID: 1367
[Token(Token = "0x2000557")]
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
public sealed class ExtensionAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.ExtensionAttribute" /> class.</summary>
// Token: 0x06002A6D RID: 10861 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A6D")]
[Address(RVA = "0x4093D0", Offset = "0x4081D0", VA = "0x1804093D0")]
public ExtensionAttribute()
{
}
}
}
@@ -0,0 +1,62 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Indicates that a field should be treated as containing a fixed number of elements of the specified primitive type. This class cannot be inherited.</summary>
// Token: 0x02000558 RID: 1368
[Token(Token = "0x2000558")]
[AttributeUsage(AttributeTargets.Field)]
public sealed class FixedBufferAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.FixedBufferAttribute" /> class.</summary>
/// <param name="elementType">The type of the elements contained in the buffer.</param>
/// <param name="length">The number of elements in the buffer.</param>
// Token: 0x06002A6E RID: 10862 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A6E")]
[Address(RVA = "0x582150", Offset = "0x580F50", VA = "0x180582150")]
public FixedBufferAttribute(Type elementType, int length)
{
}
/// <summary>Gets the type of the elements contained in the fixed buffer.</summary>
/// <returns>The type of the elements.</returns>
// Token: 0x1700064A RID: 1610
// (get) Token: 0x06002A6F RID: 10863 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x1700064A")]
public Type ElementType
{
[Token(Token = "0x6002A6F")]
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
get
{
return null;
}
}
/// <summary>Gets the number of elements in the fixed buffer.</summary>
/// <returns>The number of elements in the fixed buffer.</returns>
// Token: 0x1700064B RID: 1611
// (get) Token: 0x06002A70 RID: 10864 RVA: 0x00016908 File Offset: 0x00014B08
[Token(Token = "0x1700064B")]
public int Length
{
[Token(Token = "0x6002A70")]
[Address(RVA = "0x40B720", Offset = "0x40A520", VA = "0x18040B720")]
get
{
return 0;
}
}
// Token: 0x0400189A RID: 6298
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x400189A")]
private Type elementType;
// Token: 0x0400189B RID: 6299
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x400189B")]
private int length;
}
}
@@ -0,0 +1,19 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
// Token: 0x0200055A RID: 1370
[Token(Token = "0x200055A")]
[FriendAccessAllowed]
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Interface)]
internal sealed class FriendAccessAllowedAttribute : Attribute
{
// Token: 0x06002A75 RID: 10869 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A75")]
[Address(RVA = "0x4093D0", Offset = "0x4081D0", VA = "0x1804093D0")]
public FriendAccessAllowedAttribute()
{
}
}
}
@@ -0,0 +1,24 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Represents state machines that are generated for asynchronous methods. This type is intended for compiler use only.</summary>
// Token: 0x0200053E RID: 1342
[Token(Token = "0x200053E")]
public interface IAsyncStateMachine
{
/// <summary>Moves the state machine to its next state.</summary>
// Token: 0x06002A2E RID: 10798
[Token(Token = "0x6002A2E")]
[Address(Slot = "0")]
void MoveNext();
/// <summary>Configures the state machine with a heap-allocated replica.</summary>
/// <param name="stateMachine">The heap-allocated replica.</param>
// Token: 0x06002A2F RID: 10799
[Token(Token = "0x6002A2F")]
[Address(Slot = "1")]
void SetStateMachine(IAsyncStateMachine stateMachine);
}
}
@@ -0,0 +1,19 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Represents an awaiter that schedules continuations when an await operation completes.</summary>
// Token: 0x02000540 RID: 1344
[Token(Token = "0x2000540")]
public interface ICriticalNotifyCompletion : INotifyCompletion
{
/// <summary>Schedules the continuation action that's invoked when the instance completes.</summary>
/// <param name="continuation">The action to invoke when the operation completes.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="continuation" /> argument is null (Nothing in Visual Basic).</exception>
// Token: 0x06002A31 RID: 10801
[Token(Token = "0x6002A31")]
[Address(Slot = "0")]
void UnsafeOnCompleted(Action continuation);
}
}
@@ -0,0 +1,19 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Represents an operation that schedules continuations when it completes.</summary>
// Token: 0x0200053F RID: 1343
[Token(Token = "0x200053F")]
public interface INotifyCompletion
{
/// <summary>Schedules the continuation action that's invoked when the instance completes.</summary>
/// <param name="continuation">The action to invoke when the operation completes.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="continuation" /> argument is null (Nothing in Visual Basic).</exception>
// Token: 0x06002A30 RID: 10800
[Token(Token = "0x6002A30")]
[Address(Slot = "0")]
void OnCompleted(Action continuation);
}
}
@@ -0,0 +1,67 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Specifies that types that are ordinarily visible only within the current assembly are visible to a specified assembly.</summary>
// Token: 0x02000559 RID: 1369
[Token(Token = "0x2000559")]
[AttributeUsage(AttributeTargets.Assembly)]
public sealed class InternalsVisibleToAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.InternalsVisibleToAttribute" /> class with the name of the specified friend assembly.</summary>
/// <param name="assemblyName">The name of a friend assembly.</param>
// Token: 0x06002A71 RID: 10865 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A71")]
[Address(RVA = "0x294D510", Offset = "0x294C310", VA = "0x18294D510")]
public InternalsVisibleToAttribute(string assemblyName)
{
}
/// <summary>Gets the name of the friend assembly to which all types and type members that are marked with the <see langword="internal" /> keyword are to be made visible.</summary>
/// <returns>A string that represents the name of the friend assembly.</returns>
// Token: 0x1700064C RID: 1612
// (get) Token: 0x06002A72 RID: 10866 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x1700064C")]
public string AssemblyName
{
[Token(Token = "0x6002A72")]
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
get
{
return null;
}
}
/// <summary>This property is not implemented.</summary>
/// <returns>This property does not return a value.</returns>
// Token: 0x1700064D RID: 1613
// (get) Token: 0x06002A73 RID: 10867 RVA: 0x00016920 File Offset: 0x00014B20
// (set) Token: 0x06002A74 RID: 10868 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700064D")]
public bool AllInternalsVisible
{
[Token(Token = "0x6002A73")]
[Address(RVA = "0x42C2C0", Offset = "0x42B0C0", VA = "0x18042C2C0")]
get
{
return default(bool);
}
[Token(Token = "0x6002A74")]
[Address(RVA = "0x43DE90", Offset = "0x43CC90", VA = "0x18043DE90")]
set
{
}
}
// Token: 0x0400189C RID: 6300
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x400189C")]
private string _assemblyName;
// Token: 0x0400189D RID: 6301
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x400189D")]
private bool _allInternalsVisible;
}
}
@@ -0,0 +1,20 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Indicates that a structure is byref-like.</summary>
// Token: 0x02000530 RID: 1328
[Token(Token = "0x2000530")]
[AttributeUsage(AttributeTargets.Struct)]
public sealed class IsByRefLikeAttribute : Attribute
{
/// <summary>Creates a new instance of the <see cref="T:System.Runtime.CompilerServices.IsByRefLikeAttribute" /> class.</summary>
// Token: 0x060029F8 RID: 10744 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60029F8")]
[Address(RVA = "0x4093D0", Offset = "0x4081D0", VA = "0x1804093D0")]
public IsByRefLikeAttribute()
{
}
}
}
@@ -0,0 +1,20 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Marks a program element as read-only.</summary>
// Token: 0x02000531 RID: 1329
[Token(Token = "0x2000531")]
[AttributeUsage(AttributeTargets.All)]
public sealed class IsReadOnlyAttribute : Attribute
{
/// <summary>Creates a new instance of the <see cref="T:System.Runtime.CompilerServices.IsReadOnlyAttribute" /> class.</summary>
// Token: 0x060029F9 RID: 10745 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60029F9")]
[Address(RVA = "0x4093D0", Offset = "0x4081D0", VA = "0x1804093D0")]
public IsReadOnlyAttribute()
{
}
}
}
@@ -0,0 +1,14 @@
using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Marks a field as volatile. This class cannot be inherited.</summary>
// Token: 0x0200055B RID: 1371
[Token(Token = "0x200055B")]
[ComVisible(true)]
public static class IsVolatile
{
}
}
@@ -0,0 +1,22 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Indicates whether a method in Visual Basic is marked with the <see langword="Iterator" /> modifier.</summary>
// Token: 0x02000541 RID: 1345
[Token(Token = "0x2000541")]
[AttributeUsage(AttributeTargets.Method)]
[Serializable]
public sealed class IteratorStateMachineAttribute : StateMachineAttribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.IteratorStateMachineAttribute" /> class.</summary>
/// <param name="stateMachineType">The type object for the underlying state machine type that's used to implement a state machine method.</param>
// Token: 0x06002A32 RID: 10802 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A32")]
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
public IteratorStateMachineAttribute(Type stateMachineType)
{
}
}
}
@@ -0,0 +1,34 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
// Token: 0x02000560 RID: 1376
[Token(Token = "0x2000560")]
[FriendAccessAllowed]
internal static class JitHelpers
{
// Token: 0x06002A7A RID: 10874 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002A7A")]
[Address(RVA = "0x1297C50", Offset = "0x1296A50", VA = "0x181297C50")]
internal static T UnsafeCast<T>(object o) where T : class
{
return null;
}
// Token: 0x06002A7B RID: 10875 RVA: 0x00016938 File Offset: 0x00014B38
[Token(Token = "0x6002A7B")]
[Address(RVA = "0x1297C50", Offset = "0x1296A50", VA = "0x181297C50")]
internal static int UnsafeEnumCast<T>(T val) where T : struct
{
return 0;
}
// Token: 0x06002A7C RID: 10876 RVA: 0x00016950 File Offset: 0x00014B50
[Token(Token = "0x6002A7C")]
internal static long UnsafeEnumCastLong<T>(T val) where T : struct
{
return 0L;
}
}
}
@@ -0,0 +1,25 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Specifies the preferred default binding for a dependent assembly.</summary>
// Token: 0x0200054E RID: 1358
[Token(Token = "0x200054E")]
[Serializable]
public enum LoadHint
{
/// <summary>No preference specified.</summary>
// Token: 0x0400188F RID: 6287
[Token(Token = "0x400188F")]
Default,
/// <summary>The dependency is always loaded.</summary>
// Token: 0x04001890 RID: 6288
[Token(Token = "0x4001890")]
Always,
/// <summary>The dependency is sometimes loaded.</summary>
// Token: 0x04001891 RID: 6289
[Token(Token = "0x4001891")]
Sometimes
}
}
@@ -0,0 +1,41 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Specifies whether to wrap exceptions that do not derive from the <see cref="T:System.Exception" /> class with a <see cref="T:System.Runtime.CompilerServices.RuntimeWrappedException" /> object. This class cannot be inherited.</summary>
// Token: 0x02000542 RID: 1346
[Token(Token = "0x2000542")]
[AttributeUsage(AttributeTargets.Assembly)]
[Serializable]
public sealed class RuntimeCompatibilityAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" /> class.</summary>
// Token: 0x06002A33 RID: 10803 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A33")]
[Address(RVA = "0x4093D0", Offset = "0x4081D0", VA = "0x1804093D0")]
public RuntimeCompatibilityAttribute()
{
}
/// <summary>Gets or sets a value that indicates whether to wrap exceptions that do not derive from the <see cref="T:System.Exception" /> class with a <see cref="T:System.Runtime.CompilerServices.RuntimeWrappedException" /> object.</summary>
/// <returns>
/// <see langword="true" /> if exceptions that do not derive from the <see cref="T:System.Exception" /> class should appear wrapped with a <see cref="T:System.Runtime.CompilerServices.RuntimeWrappedException" /> object; otherwise, <see langword="false" />.</returns>
// Token: 0x1700063D RID: 1597
// (set) Token: 0x06002A34 RID: 10804 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700063D")]
public bool WrapNonExceptionThrows
{
[Token(Token = "0x6002A34")]
[Address(RVA = "0x495D50", Offset = "0x494B50", VA = "0x180495D50")]
set
{
}
}
// Token: 0x04001880 RID: 6272
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001880")]
private bool m_wrapNonExceptionThrows;
}
}
@@ -0,0 +1,118 @@
using System;
using System.Runtime.ConstrainedExecution;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Provides a set of static methods and properties that provide support for compilers. This class cannot be inherited.</summary>
// Token: 0x02000564 RID: 1380
[Token(Token = "0x2000564")]
public static class RuntimeHelpers
{
// Token: 0x06002A8A RID: 10890 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A8A")]
[Address(RVA = "0x295DBE0", Offset = "0x295C9E0", VA = "0x18295DBE0")]
private static void InitializeArray(Array array, IntPtr fldHandle)
{
}
/// <summary>Provides a fast way to initialize an array from data that is stored in a module.</summary>
/// <param name="array">The array to be initialized.</param>
/// <param name="fldHandle">A field handle that specifies the location of the data used to initialize the array.</param>
// Token: 0x06002A8B RID: 10891 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A8B")]
[Address(RVA = "0x295DB60", Offset = "0x295C960", VA = "0x18295DB60")]
public static void InitializeArray(Array array, RuntimeFieldHandle fldHandle)
{
}
/// <summary>Gets the offset, in bytes, to the data in the given string.</summary>
/// <returns>The byte offset, from the start of the <see cref="T:System.String" /> object to the first character in the string.</returns>
// Token: 0x1700064E RID: 1614
// (get) Token: 0x06002A8C RID: 10892 RVA: 0x00016998 File Offset: 0x00014B98
[Token(Token = "0x1700064E")]
public static int OffsetToStringData
{
[Token(Token = "0x6002A8C")]
[Address(RVA = "0x295DC80", Offset = "0x295CA80", VA = "0x18295DC80")]
get
{
return 0;
}
}
/// <summary>Serves as a hash function for a particular object, and is suitable for use in algorithms and data structures that use hash codes, such as a hash table.</summary>
/// <param name="o">An object to retrieve the hash code for.</param>
/// <returns>A hash code for the object identified by the <paramref name="o" /> parameter.</returns>
// Token: 0x06002A8D RID: 10893 RVA: 0x000169B0 File Offset: 0x00014BB0
[Token(Token = "0x6002A8D")]
[Address(RVA = "0x19424F0", Offset = "0x19412F0", VA = "0x1819424F0")]
public static int GetHashCode(object o)
{
return 0;
}
/// <summary>Boxes a value type.</summary>
/// <param name="obj">The value type to be boxed.</param>
/// <returns>A boxed copy of <paramref name="obj" /> if it is a value class; otherwise, <paramref name="obj" /> itself.</returns>
// Token: 0x06002A8E RID: 10894 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002A8E")]
[Address(RVA = "0x295DB50", Offset = "0x295C950", VA = "0x18295DB50")]
public static object GetObjectValue(object obj)
{
return null;
}
// Token: 0x06002A8F RID: 10895 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A8F")]
[Address(RVA = "0x295DC70", Offset = "0x295CA70", VA = "0x18295DC70")]
private static void RunClassConstructor(IntPtr type)
{
}
/// <summary>Runs a specified class constructor method.</summary>
/// <param name="type">A type handle that specifies the class constructor method to run.</param>
/// <exception cref="T:System.TypeInitializationException">The class initializer throws an exception.</exception>
// Token: 0x06002A90 RID: 10896 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A90")]
[Address(RVA = "0x295DBF0", Offset = "0x295C9F0", VA = "0x18295DBF0")]
public static void RunClassConstructor(RuntimeTypeHandle type)
{
}
// Token: 0x06002A91 RID: 10897 RVA: 0x000169C8 File Offset: 0x00014BC8
[Token(Token = "0x6002A91")]
[Address(RVA = "0x2379AE0", Offset = "0x23788E0", VA = "0x182379AE0")]
private static bool SufficientExecutionStack()
{
return default(bool);
}
// Token: 0x06002A92 RID: 10898 RVA: 0x000169E0 File Offset: 0x00014BE0
[Token(Token = "0x6002A92")]
[Address(RVA = "0x2379AE0", Offset = "0x23788E0", VA = "0x182379AE0")]
public static bool TryEnsureSufficientExecutionStack()
{
return default(bool);
}
/// <summary>Designates a body of code as a constrained execution region (CER).</summary>
// Token: 0x06002A93 RID: 10899 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A93")]
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080")]
[MonoTODO]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
[MonoTODO("Currently a no-op")]
public static void PrepareConstrainedRegions()
{
}
// Token: 0x06002A94 RID: 10900 RVA: 0x000169F8 File Offset: 0x00014BF8
[Token(Token = "0x6002A94")]
[Address(RVA = "0x190E080", Offset = "0x190CE80", VA = "0x18190E080")]
public static bool IsReferenceOrContainsReferences<T>()
{
return default(bool);
}
}
}
@@ -0,0 +1,65 @@
using System;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Wraps an exception that does not derive from the <see cref="T:System.Exception" /> class. This class cannot be inherited.</summary>
// Token: 0x02000543 RID: 1347
[Token(Token = "0x2000543")]
[Serializable]
public sealed class RuntimeWrappedException : Exception
{
// Token: 0x06002A35 RID: 10805 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A35")]
[Address(RVA = "0x295FB20", Offset = "0x295E920", VA = "0x18295FB20")]
private RuntimeWrappedException(object thrownObject)
{
}
/// <summary>Gets the object that was wrapped by the <see cref="T:System.Runtime.CompilerServices.RuntimeWrappedException" /> object.</summary>
/// <returns>The object that was wrapped by the <see cref="T:System.Runtime.CompilerServices.RuntimeWrappedException" /> object.</returns>
// Token: 0x1700063E RID: 1598
// (get) Token: 0x06002A36 RID: 10806 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x1700063E")]
public object WrappedException
{
[Token(Token = "0x6002A36")]
[Address(RVA = "0x44EC80", Offset = "0x44DA80", VA = "0x18044EC80")]
get
{
return null;
}
}
/// <summary>Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object with information about the exception.</summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> object that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is <see langword="null" />.</exception>
// Token: 0x06002A37 RID: 10807 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A37")]
[Address(RVA = "0x295FA30", Offset = "0x295E830", VA = "0x18295FA30", Slot = "10")]
public override void GetObjectData(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x06002A38 RID: 10808 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A38")]
[Address(RVA = "0x295FBF0", Offset = "0x295E9F0", VA = "0x18295FBF0")]
internal RuntimeWrappedException(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x06002A39 RID: 10809 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A39")]
[Address(RVA = "0x295FBC0", Offset = "0x295E9C0", VA = "0x18295FBC0")]
internal RuntimeWrappedException()
{
}
// Token: 0x04001881 RID: 6273
[FieldOffset(Offset = "0x88")]
[Token(Token = "0x4001881")]
private object m_wrappedException;
}
}
@@ -0,0 +1,37 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Allows you to determine whether a method is a state machine method.</summary>
// Token: 0x02000544 RID: 1348
[Token(Token = "0x2000544")]
[AttributeUsage(AttributeTargets.Method)]
[Serializable]
public class StateMachineAttribute : Attribute
{
/// <summary>Returns the type object for the underlying state machine type that was generated by the compiler to implement the state machine method.</summary>
/// <returns>Gets the type object for the underlying state machine type that was generated by the compiler to implement the state machine method.</returns>
// Token: 0x1700063F RID: 1599
// (set) Token: 0x06002A3A RID: 10810 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700063F")]
private Type StateMachineType
{
[Token(Token = "0x6002A3A")]
[Address(RVA = "0x3F7200", Offset = "0x3F6000", VA = "0x1803F7200")]
[CompilerGenerated]
set
{
}
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.StateMachineAttribute" /> class.</summary>
/// <param name="stateMachineType">The type object for the underlying state machine type that was generated by the compiler to implement the state machine method.</param>
// Token: 0x06002A3B RID: 10811 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A3B")]
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
public StateMachineAttribute(Type stateMachineType)
{
}
}
}
@@ -0,0 +1,21 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Deprecated. Freezes a string literal when creating native images using the Ngen.exe (Native Image Generator). This class cannot be inherited.</summary>
// Token: 0x0200055F RID: 1375
[Token(Token = "0x200055F")]
[AttributeUsage(AttributeTargets.Assembly)]
[Serializable]
public sealed class StringFreezingAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.StringFreezingAttribute" /> class.</summary>
// Token: 0x06002A79 RID: 10873 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A79")]
[Address(RVA = "0x4093D0", Offset = "0x4081D0", VA = "0x1804093D0")]
public StringFreezingAttribute()
{
}
}
}
@@ -0,0 +1,20 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Prevents the Ildasm.exe (IL Disassembler) from disassembling an assembly. This class cannot be inherited.</summary>
// Token: 0x0200055C RID: 1372
[Token(Token = "0x200055C")]
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Module)]
public sealed class SuppressIldasmAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.SuppressIldasmAttribute" /> class.</summary>
// Token: 0x06002A76 RID: 10870 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A76")]
[Address(RVA = "0x4093D0", Offset = "0x4081D0", VA = "0x1804093D0")]
public SuppressIldasmAttribute()
{
}
}
}
@@ -0,0 +1,79 @@
using System;
using System.Threading.Tasks;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Represents an object that waits for the completion of an asynchronous task and provides a parameter for the result.</summary>
/// <typeparam name="TResult">The result for the task.</typeparam>
// Token: 0x02000546 RID: 1350
[Token(Token = "0x2000546")]
public struct TaskAwaiter<TResult> : ICriticalNotifyCompletion, INotifyCompletion
{
// Token: 0x06002A45 RID: 10821 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A45")]
[Address(RVA = "0x461A30", Offset = "0x460830", VA = "0x180461A30")]
internal TaskAwaiter(Task<TResult> task)
{
}
/// <summary>Gets a value that indicates whether the asynchronous task has completed.</summary>
/// <returns>
/// <see langword="true" /> if the task has completed; otherwise, <see langword="false" />.</returns>
/// <exception cref="T:System.NullReferenceException">The <see cref="T:System.Runtime.CompilerServices.TaskAwaiter`1" /> object was not properly initialized.</exception>
// Token: 0x17000641 RID: 1601
// (get) Token: 0x06002A46 RID: 10822 RVA: 0x00016830 File Offset: 0x00014A30
[Token(Token = "0x17000641")]
public bool IsCompleted
{
[Token(Token = "0x6002A46")]
[Address(RVA = "0x28E73F0", Offset = "0x28E61F0", VA = "0x1828E73F0")]
get
{
return default(bool);
}
}
/// <summary>Sets the action to perform when the <see cref="T:System.Runtime.CompilerServices.TaskAwaiter`1" /> object stops waiting for the asynchronous task to complete.</summary>
/// <param name="continuation">The action to perform when the wait operation completes.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="continuation" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.NullReferenceException">The <see cref="T:System.Runtime.CompilerServices.TaskAwaiter`1" /> object was not properly initialized.</exception>
// Token: 0x06002A47 RID: 10823 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A47")]
[Address(RVA = "0x28EBB20", Offset = "0x28EA920", VA = "0x1828EBB20", Slot = "5")]
public void OnCompleted(Action continuation)
{
}
/// <summary>Schedules the continuation action for the asynchronous task associated with this awaiter.</summary>
/// <param name="continuation">The action to invoke when the await operation completes.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="continuation" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.InvalidOperationException">The awaiter was not properly initialized.</exception>
// Token: 0x06002A48 RID: 10824 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A48")]
[Address(RVA = "0x28EBB50", Offset = "0x28EA950", VA = "0x1828EBB50", Slot = "4")]
public void UnsafeOnCompleted(Action continuation)
{
}
/// <summary>Ends the wait for the completion of the asynchronous task.</summary>
/// <returns>The result of the completed task.</returns>
/// <exception cref="T:System.NullReferenceException">The <see cref="T:System.Runtime.CompilerServices.TaskAwaiter`1" /> object 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 <see cref="F:System.Threading.Tasks.TaskStatus.Faulted" /> state.</exception>
// Token: 0x06002A49 RID: 10825 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002A49")]
[Address(RVA = "0x28E6EC0", Offset = "0x28E5CC0", VA = "0x1828E6EC0")]
public TResult GetResult()
{
return null;
}
// Token: 0x04001884 RID: 6276
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4001884")]
private readonly Task<TResult> m_task;
}
}
@@ -0,0 +1,104 @@
using System;
using System.Threading.Tasks;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Provides an object that waits for the completion of an asynchronous task.</summary>
// Token: 0x02000545 RID: 1349
[Token(Token = "0x2000545")]
public struct TaskAwaiter : ICriticalNotifyCompletion, INotifyCompletion
{
// Token: 0x06002A3C RID: 10812 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A3C")]
[Address(RVA = "0x461A30", Offset = "0x460830", VA = "0x180461A30")]
internal TaskAwaiter(Task task)
{
}
/// <summary>Gets a value that indicates whether the asynchronous task has completed.</summary>
/// <returns>
/// <see langword="true" /> if the task has completed; otherwise, <see langword="false" />.</returns>
/// <exception cref="T:System.NullReferenceException">The <see cref="T:System.Runtime.CompilerServices.TaskAwaiter" /> object was not properly initialized.</exception>
// Token: 0x17000640 RID: 1600
// (get) Token: 0x06002A3D RID: 10813 RVA: 0x00016818 File Offset: 0x00014A18
[Token(Token = "0x17000640")]
public bool IsCompleted
{
[Token(Token = "0x6002A3D")]
[Address(RVA = "0x28E73F0", Offset = "0x28E61F0", VA = "0x1828E73F0")]
get
{
return default(bool);
}
}
/// <summary>Sets the action to perform when the <see cref="T:System.Runtime.CompilerServices.TaskAwaiter" /> object stops waiting for the asynchronous task to complete.</summary>
/// <param name="continuation">The action to perform when the wait operation completes.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="continuation" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.NullReferenceException">The <see cref="T:System.Runtime.CompilerServices.TaskAwaiter" /> object was not properly initialized.</exception>
// Token: 0x06002A3E RID: 10814 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A3E")]
[Address(RVA = "0x28EBB20", Offset = "0x28EA920", VA = "0x1828EBB20", Slot = "5")]
public void OnCompleted(Action continuation)
{
}
/// <summary>Schedules the continuation action for the asynchronous task that is associated with this awaiter.</summary>
/// <param name="continuation">The action to invoke when the await operation completes.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="continuation" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.InvalidOperationException">The awaiter was not properly initialized.</exception>
// Token: 0x06002A3F RID: 10815 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A3F")]
[Address(RVA = "0x28EBB50", Offset = "0x28EA950", VA = "0x1828EBB50", Slot = "4")]
public void UnsafeOnCompleted(Action continuation)
{
}
/// <summary>Ends the wait for the completion of the asynchronous task.</summary>
/// <exception cref="T:System.NullReferenceException">The <see cref="T:System.Runtime.CompilerServices.TaskAwaiter" /> object 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 <see cref="F:System.Threading.Tasks.TaskStatus.Faulted" /> state.</exception>
// Token: 0x06002A40 RID: 10816 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A40")]
[Address(RVA = "0x294C090", Offset = "0x294AE90", VA = "0x18294C090")]
public void GetResult()
{
}
// Token: 0x06002A41 RID: 10817 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A41")]
[Address(RVA = "0x2960770", Offset = "0x295F570", VA = "0x182960770")]
internal static void ValidateEnd(Task task)
{
}
// Token: 0x06002A42 RID: 10818 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A42")]
[Address(RVA = "0x2960410", Offset = "0x295F210", VA = "0x182960410")]
private static void HandleNonSuccessAndDebuggerNotification(Task task)
{
}
// Token: 0x06002A43 RID: 10819 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A43")]
[Address(RVA = "0x2960640", Offset = "0x295F440", VA = "0x182960640")]
private static void ThrowForNonSuccess(Task task)
{
}
// Token: 0x06002A44 RID: 10820 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A44")]
[Address(RVA = "0x2960570", Offset = "0x295F370", VA = "0x182960570")]
internal static void OnCompletedInternal(Task task, Action continuation, bool continueOnCapturedContext, bool flowExecutionContext)
{
}
// Token: 0x04001883 RID: 6275
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4001883")]
private readonly Task m_task;
}
}
@@ -0,0 +1,27 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Indicates that the use of a value tuple on a member is meant to be treated as a tuple with element names.</summary>
// Token: 0x02000532 RID: 1330
[Token(Token = "0x2000532")]
[CLSCompliant(false)]
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
public sealed class TupleElementNamesAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.TupleElementNamesAttribute" /> class.</summary>
/// <param name="transformNames">A string array that specifies, in a pre-order depth-first traversal of a type's construction, which value tuple occurrences are meant to carry element names.</param>
// Token: 0x060029FA RID: 10746 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60029FA")]
[Address(RVA = "0x29608F0", Offset = "0x295F6F0", VA = "0x1829608F0")]
public TupleElementNamesAttribute(string[] transformNames)
{
}
// Token: 0x04001867 RID: 6247
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001867")]
private readonly string[] _transformNames;
}
}
@@ -0,0 +1,23 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
// Token: 0x0200055D RID: 1373
[Token(Token = "0x200055D")]
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface)]
internal sealed class TypeDependencyAttribute : Attribute
{
// Token: 0x06002A77 RID: 10871 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A77")]
[Address(RVA = "0x2960970", Offset = "0x295F770", VA = "0x182960970")]
public TypeDependencyAttribute(string typeName)
{
}
// Token: 0x0400189E RID: 6302
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x400189E")]
private string typeName;
}
}
@@ -0,0 +1,43 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Specifies a source <see cref="T:System.Type" /> in another assembly.</summary>
// Token: 0x0200054B RID: 1355
[Token(Token = "0x200054B")]
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Delegate)]
public sealed class TypeForwardedFromAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.TypeForwardedFromAttribute" /> class.</summary>
/// <param name="assemblyFullName">The source <see cref="T:System.Type" /> in another assembly.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="assemblyFullName" /> is <see langword="null" /> or empty.</exception>
// Token: 0x06002A58 RID: 10840 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A58")]
[Address(RVA = "0x29609F0", Offset = "0x295F7F0", VA = "0x1829609F0")]
public TypeForwardedFromAttribute(string assemblyFullName)
{
}
/// <summary>Gets the assembly-qualified name of the source type.</summary>
/// <returns>The assembly-qualified name of the source type.</returns>
// Token: 0x17000644 RID: 1604
// (get) Token: 0x06002A59 RID: 10841 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000644")]
public string AssemblyFullName
{
[Token(Token = "0x6002A59")]
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
get
{
return null;
}
}
// Token: 0x0400188B RID: 6283
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x400188B")]
private string assemblyFullName;
}
}
@@ -0,0 +1,21 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Specifies that a type contains an unmanaged array that might potentially overflow. This class cannot be inherited.</summary>
// Token: 0x0200055E RID: 1374
[Token(Token = "0x200055E")]
[AttributeUsage(AttributeTargets.Struct)]
[Serializable]
public sealed class UnsafeValueTypeAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.UnsafeValueTypeAttribute" /> class.</summary>
// Token: 0x06002A78 RID: 10872 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A78")]
[Address(RVA = "0x4093D0", Offset = "0x4081D0", VA = "0x1804093D0")]
public UnsafeValueTypeAttribute()
{
}
}
}
@@ -0,0 +1,94 @@
using System;
using System.Threading;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Provides the context for waiting when asynchronously switching into a target environment.</summary>
// Token: 0x0200054C RID: 1356
[Token(Token = "0x200054C")]
public struct YieldAwaitable
{
/// <summary>Retrieves a <see cref="T:System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter" /> object for this instance of the class.</summary>
/// <returns>The object that is used to monitor the completion of an asynchronous operation.</returns>
// Token: 0x06002A5A RID: 10842 RVA: 0x000168A8 File Offset: 0x00014AA8
[Token(Token = "0x6002A5A")]
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930")]
public YieldAwaitable.YieldAwaiter GetAwaiter()
{
return default(YieldAwaitable.YieldAwaiter);
}
/// <summary>Provides an awaiter for switching into a target environment.</summary>
// Token: 0x0200054D RID: 1357
[Token(Token = "0x200054D")]
public struct YieldAwaiter : ICriticalNotifyCompletion, INotifyCompletion
{
/// <summary>Gets a value that indicates whether a yield is not required.</summary>
/// <returns>Always <see langword="false" />, which indicates that a yield is always required for <see cref="T:System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter" />.</returns>
// Token: 0x17000645 RID: 1605
// (get) Token: 0x06002A5B RID: 10843 RVA: 0x000168C0 File Offset: 0x00014AC0
[Token(Token = "0x17000645")]
public bool IsCompleted
{
[Token(Token = "0x6002A5B")]
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930")]
get
{
return default(bool);
}
}
/// <summary>Sets the continuation to invoke.</summary>
/// <param name="continuation">The action to invoke asynchronously.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="continuation" /> is <see langword="null" />.</exception>
// Token: 0x06002A5C RID: 10844 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A5C")]
[Address(RVA = "0x2960EF0", Offset = "0x295FCF0", VA = "0x182960EF0", Slot = "5")]
public void OnCompleted(Action continuation)
{
}
/// <summary>Posts the <paramref name="continuation" /> back to the current context.</summary>
/// <param name="continuation">The action to invoke asynchronously.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="continuation" /> argument is <see langword="null" />.</exception>
// Token: 0x06002A5D RID: 10845 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A5D")]
[Address(RVA = "0x2961290", Offset = "0x2960090", VA = "0x182961290", Slot = "4")]
public void UnsafeOnCompleted(Action continuation)
{
}
// Token: 0x06002A5E RID: 10846 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A5E")]
[Address(RVA = "0x2960F50", Offset = "0x295FD50", VA = "0x182960F50")]
private static void QueueContinuation(Action continuation, bool flowContext)
{
}
// Token: 0x06002A5F RID: 10847 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A5F")]
[Address(RVA = "0x2961230", Offset = "0x2960030", VA = "0x182961230")]
private static void RunAction(object state)
{
}
/// <summary>Ends the await operation.</summary>
// Token: 0x06002A60 RID: 10848 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A60")]
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080")]
public void GetResult()
{
}
// Token: 0x0400188C RID: 6284
[Token(Token = "0x400188C")]
private static readonly WaitCallback s_waitCallbackRunAction;
// Token: 0x0400188D RID: 6285
[Token(Token = "0x400188D")]
private static readonly SendOrPostCallback s_sendOrPostCallbackRunAction;
}
}
}