m
This commit is contained in:
@@ -0,0 +1,150 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.CompilerServices
|
||||
{
|
||||
// Token: 0x02000553 RID: 1363
|
||||
[Token(Token = "0x2000553")]
|
||||
internal struct AsyncMethodBuilderCore
|
||||
{
|
||||
// Token: 0x06002C27 RID: 11303 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C27")]
|
||||
[Address(RVA = "0x2CE8320", Offset = "0x2CE7320", VA = "0x182CE8320")]
|
||||
public void SetStateMachine(IAsyncStateMachine stateMachine)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002C28 RID: 11304 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002C28")]
|
||||
[Address(RVA = "0x2CE7EA0", Offset = "0x2CE6EA0", VA = "0x182CE7EA0")]
|
||||
internal Action GetCompletionAction(Task taskForTracing, ref AsyncMethodBuilderCore.MoveNextRunner runnerToInitialize)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002C29 RID: 11305 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002C29")]
|
||||
[Address(RVA = "0x2CE8040", Offset = "0x2CE7040", VA = "0x182CE8040")]
|
||||
private Action OutputAsyncCausalityEvents(Task innerTask, Action continuation)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002C2A RID: 11306 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C2A")]
|
||||
[Address(RVA = "0x2CE81C0", Offset = "0x2CE71C0", VA = "0x182CE81C0")]
|
||||
internal void PostBoxInitialization(IAsyncStateMachine stateMachine, AsyncMethodBuilderCore.MoveNextRunner runner, Task builtTask)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002C2B RID: 11307 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C2B")]
|
||||
[Address(RVA = "0x2CE83E0", Offset = "0x2CE73E0", VA = "0x182CE83E0")]
|
||||
internal static void ThrowAsync(Exception exception, SynchronizationContext targetContext)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002C2C RID: 11308 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002C2C")]
|
||||
[Address(RVA = "0x2CE7D90", Offset = "0x2CE6D90", VA = "0x182CE7D90")]
|
||||
internal static Action CreateContinuationWrapper(Action continuation, Action invokeAction, [Optional] Task innerTask)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002C2D RID: 11309 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002C2D")]
|
||||
[Address(RVA = "0x2CE8650", Offset = "0x2CE7650", VA = "0x182CE8650")]
|
||||
internal static Task TryGetContinuationTask(Action action)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x04001936 RID: 6454
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001936")]
|
||||
internal IAsyncStateMachine m_stateMachine;
|
||||
|
||||
// Token: 0x04001937 RID: 6455
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x8")]
|
||||
[Token(Token = "0x4001937")]
|
||||
internal Action m_defaultContextAction;
|
||||
|
||||
// Token: 0x02000554 RID: 1364
|
||||
[Token(Token = "0x2000554")]
|
||||
internal sealed class MoveNextRunner
|
||||
{
|
||||
// Token: 0x06002C2E RID: 11310 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C2E")]
|
||||
[Address(RVA = "0x417DD0", Offset = "0x416DD0", VA = "0x180417DD0")]
|
||||
internal MoveNextRunner(ExecutionContext context, IAsyncStateMachine stateMachine)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002C2F RID: 11311 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C2F")]
|
||||
[Address(RVA = "0x2CF3A60", Offset = "0x2CF2A60", VA = "0x182CF3A60")]
|
||||
internal void Run()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002C30 RID: 11312 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C30")]
|
||||
[Address(RVA = "0x2CF39C0", Offset = "0x2CF29C0", VA = "0x182CF39C0")]
|
||||
private static void InvokeMoveNext(object stateMachine)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001938 RID: 6456
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001938")]
|
||||
private readonly ExecutionContext m_context;
|
||||
|
||||
// Token: 0x04001939 RID: 6457
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001939")]
|
||||
internal IAsyncStateMachine m_stateMachine;
|
||||
|
||||
// Token: 0x0400193A RID: 6458
|
||||
[Token(Token = "0x400193A")]
|
||||
private static ContextCallback s_invokeMoveNext;
|
||||
}
|
||||
|
||||
// Token: 0x02000555 RID: 1365
|
||||
[Token(Token = "0x2000555")]
|
||||
private class ContinuationWrapper
|
||||
{
|
||||
// Token: 0x06002C31 RID: 11313 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C31")]
|
||||
[Address(RVA = "0x2CEC680", Offset = "0x2CEB680", VA = "0x182CEC680")]
|
||||
internal ContinuationWrapper(Action continuation, Action invokeAction, Task innerTask)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002C32 RID: 11314 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C32")]
|
||||
[Address(RVA = "0x5F4B30", Offset = "0x5F3B30", VA = "0x1805F4B30")]
|
||||
internal void Invoke()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400193B RID: 6459
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400193B")]
|
||||
internal readonly Action m_continuation;
|
||||
|
||||
// Token: 0x0400193C RID: 6460
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400193C")]
|
||||
private readonly Action m_invokeAction;
|
||||
|
||||
// Token: 0x0400193D RID: 6461
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400193D")]
|
||||
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: 0x02000558 RID: 1368
|
||||
[Token(Token = "0x2000558")]
|
||||
[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: 0x06002C39 RID: 11321 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C39")]
|
||||
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
|
||||
public AsyncStateMachineAttribute(Type stateMachineType)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.CompilerServices
|
||||
{
|
||||
// Token: 0x02000552 RID: 1362
|
||||
[Token(Token = "0x2000552")]
|
||||
internal static class AsyncTaskCache
|
||||
{
|
||||
// Token: 0x06002C24 RID: 11300 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002C24")]
|
||||
[Address(RVA = "0x2CE86E0", Offset = "0x2CE76E0", VA = "0x182CE86E0")]
|
||||
private static Task<int>[] CreateInt32Tasks()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002C25 RID: 11301 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002C25")]
|
||||
[Address(RVA = "0x25EBDC0", Offset = "0x25EADC0", VA = "0x1825EBDC0")]
|
||||
internal static Task<TResult> CreateCacheableTask<TResult>(TResult result)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x04001933 RID: 6451
|
||||
[Token(Token = "0x4001933")]
|
||||
internal static readonly Task<bool> TrueTask;
|
||||
|
||||
// Token: 0x04001934 RID: 6452
|
||||
[Token(Token = "0x4001934")]
|
||||
internal static readonly Task<bool> FalseTask;
|
||||
|
||||
// Token: 0x04001935 RID: 6453
|
||||
[Token(Token = "0x4001935")]
|
||||
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: 0x02000551 RID: 1361
|
||||
[Token(Token = "0x2000551")]
|
||||
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: 0x06002C19 RID: 11289 RVA: 0x00018BD0 File Offset: 0x00016DD0
|
||||
[Token(Token = "0x6002C19")]
|
||||
[Address(RVA = "0x437C30", Offset = "0x436C30", VA = "0x180437C30")]
|
||||
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: 0x06002C1A RID: 11290 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C1A")]
|
||||
[Address(RVA = "0x2505880", Offset = "0x2504880", VA = "0x182505880")]
|
||||
[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: 0x06002C1B RID: 11291 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C1B")]
|
||||
[Address(RVA = "0x2F2CA10", Offset = "0x2F2BA10", VA = "0x182F2CA10")]
|
||||
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: 0x06002C1C RID: 11292 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C1C")]
|
||||
[Address(RVA = "0x24FF470", Offset = "0x24FE470", VA = "0x1824FF470")]
|
||||
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: 0x06002C1D RID: 11293 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C1D")]
|
||||
[Address(RVA = "0x2503CF0", Offset = "0x2502CF0", VA = "0x182503CF0")]
|
||||
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: 0x170006B4 RID: 1716
|
||||
// (get) Token: 0x06002C1E RID: 11294 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170006B4")]
|
||||
public Task<TResult> Task
|
||||
{
|
||||
[Token(Token = "0x6002C1E")]
|
||||
[Address(RVA = "0x2F2D490", Offset = "0x2F2C490", VA = "0x182F2D490")]
|
||||
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: 0x06002C1F RID: 11295 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C1F")]
|
||||
[Address(RVA = "0x2F2B760", Offset = "0x2F2A760", VA = "0x182F2B760")]
|
||||
public void SetResult(TResult result)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002C20 RID: 11296 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C20")]
|
||||
[Address(RVA = "0x2F2B950", Offset = "0x2F2A950", VA = "0x182F2B950")]
|
||||
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: 0x06002C21 RID: 11297 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C21")]
|
||||
[Address(RVA = "0x2F2ACD0", Offset = "0x2F29CD0", VA = "0x182F2ACD0")]
|
||||
public void SetException(Exception exception)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002C22 RID: 11298 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002C22")]
|
||||
[Address(RVA = "0x2F23860", Offset = "0x2F22860", VA = "0x182F23860")]
|
||||
private Task<TResult> GetTaskForResult(TResult result)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x04001930 RID: 6448
|
||||
[Token(Token = "0x4001930")]
|
||||
internal static readonly Task<TResult> s_defaultResultTask;
|
||||
|
||||
// Token: 0x04001931 RID: 6449
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001931")]
|
||||
private AsyncMethodBuilderCore m_coreState;
|
||||
|
||||
// Token: 0x04001932 RID: 6450
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001932")]
|
||||
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: 0x02000550 RID: 1360
|
||||
[Token(Token = "0x2000550")]
|
||||
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: 0x06002C10 RID: 11280 RVA: 0x00018BB8 File Offset: 0x00016DB8
|
||||
[Token(Token = "0x6002C10")]
|
||||
[Address(RVA = "0x437C30", Offset = "0x436C30", VA = "0x180437C30")]
|
||||
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: 0x06002C11 RID: 11281 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C11")]
|
||||
[Address(RVA = "0x2507FE0", Offset = "0x2506FE0", VA = "0x182507FE0")]
|
||||
[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: 0x06002C12 RID: 11282 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C12")]
|
||||
[Address(RVA = "0x2CE89A0", Offset = "0x2CE79A0", VA = "0x182CE89A0")]
|
||||
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: 0x06002C13 RID: 11283 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C13")]
|
||||
[Address(RVA = "0x2505B30", Offset = "0x2504B30", VA = "0x182505B30")]
|
||||
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: 0x06002C14 RID: 11284 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C14")]
|
||||
[Address(RVA = "0x2505C50", Offset = "0x2504C50", VA = "0x182505C50")]
|
||||
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: 0x170006B3 RID: 1715
|
||||
// (get) Token: 0x06002C15 RID: 11285 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170006B3")]
|
||||
public Task Task
|
||||
{
|
||||
[Token(Token = "0x6002C15")]
|
||||
[Address(RVA = "0x2CE8A60", Offset = "0x2CE7A60", VA = "0x182CE8A60")]
|
||||
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: 0x06002C16 RID: 11286 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C16")]
|
||||
[Address(RVA = "0x2CE8930", Offset = "0x2CE7930", VA = "0x182CE8930")]
|
||||
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: 0x06002C17 RID: 11287 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C17")]
|
||||
[Address(RVA = "0x2CE88E0", Offset = "0x2CE78E0", VA = "0x182CE88E0")]
|
||||
public void SetException(Exception exception)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400192E RID: 6446
|
||||
[Token(Token = "0x400192E")]
|
||||
private static readonly Task<VoidTaskResult> s_cachedCompleted;
|
||||
|
||||
// Token: 0x0400192F RID: 6447
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x400192F")]
|
||||
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: 0x0200054F RID: 1359
|
||||
[Token(Token = "0x200054F")]
|
||||
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: 0x06002C08 RID: 11272 RVA: 0x00018BA0 File Offset: 0x00016DA0
|
||||
[Token(Token = "0x6002C08")]
|
||||
[Address(RVA = "0x2CE8AA0", Offset = "0x2CE7AA0", VA = "0x182CE8AA0")]
|
||||
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: 0x06002C09 RID: 11273 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C09")]
|
||||
[Address(RVA = "0x2A3B9E0", Offset = "0x2A3A9E0", VA = "0x182A3B9E0")]
|
||||
[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: 0x06002C0A RID: 11274 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C0A")]
|
||||
[Address(RVA = "0x2CE8D90", Offset = "0x2CE7D90", VA = "0x182CE8D90")]
|
||||
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: 0x06002C0B RID: 11275 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C0B")]
|
||||
[Address(RVA = "0x2A36230", Offset = "0x2A35230", VA = "0x182A36230")]
|
||||
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: 0x06002C0C RID: 11276 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C0C")]
|
||||
[Address(RVA = "0x2CE8CF0", Offset = "0x2CE7CF0", VA = "0x182CE8CF0")]
|
||||
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: 0x06002C0D RID: 11277 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C0D")]
|
||||
[Address(RVA = "0x2CE8B90", Offset = "0x2CE7B90", VA = "0x182CE8B90")]
|
||||
public void SetException(Exception exception)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002C0E RID: 11278 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C0E")]
|
||||
[Address(RVA = "0x2CE8B10", Offset = "0x2CE7B10", VA = "0x182CE8B10")]
|
||||
private void NotifySynchronizationContextOfCompletion()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x170006B2 RID: 1714
|
||||
// (get) Token: 0x06002C0F RID: 11279 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170006B2")]
|
||||
private Task Task
|
||||
{
|
||||
[Token(Token = "0x6002C0F")]
|
||||
[Address(RVA = "0x2CE8DA0", Offset = "0x2CE7DA0", VA = "0x182CE8DA0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0400192B RID: 6443
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x400192B")]
|
||||
private SynchronizationContext m_synchronizationContext;
|
||||
|
||||
// Token: 0x0400192C RID: 6444
|
||||
[FieldOffset(Offset = "0x8")]
|
||||
[Token(Token = "0x400192C")]
|
||||
private AsyncMethodBuilderCore m_coreState;
|
||||
|
||||
// Token: 0x0400192D RID: 6445
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400192D")]
|
||||
private Task m_task;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.CompilerServices
|
||||
{
|
||||
/// <summary>Allows you to obtain the full path of the source file that contains the caller. This is the file path at the time of compile.</summary>
|
||||
// Token: 0x02000559 RID: 1369
|
||||
[Token(Token = "0x2000559")]
|
||||
[AttributeUsage(AttributeTargets.Parameter)]
|
||||
public sealed class CallerFilePathAttribute : Attribute
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.CallerFilePathAttribute" /> class.</summary>
|
||||
// Token: 0x06002C3A RID: 11322 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C3A")]
|
||||
[Address(RVA = "0x42BA20", Offset = "0x42AA20", VA = "0x18042BA20")]
|
||||
public CallerFilePathAttribute()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.CompilerServices
|
||||
{
|
||||
/// <summary>Allows you to obtain the line number in the source file at which the method is called.</summary>
|
||||
// Token: 0x0200055A RID: 1370
|
||||
[Token(Token = "0x200055A")]
|
||||
[AttributeUsage(AttributeTargets.Parameter)]
|
||||
public sealed class CallerLineNumberAttribute : Attribute
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.CallerLineNumberAttribute" /> class.</summary>
|
||||
// Token: 0x06002C3B RID: 11323 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C3B")]
|
||||
[Address(RVA = "0x42BA20", Offset = "0x42AA20", VA = "0x18042BA20")]
|
||||
public CallerLineNumberAttribute()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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: 0x0200055B RID: 1371
|
||||
[Token(Token = "0x200055B")]
|
||||
[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: 0x06002C3C RID: 11324 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C3C")]
|
||||
[Address(RVA = "0x42BA20", Offset = "0x42AA20", VA = "0x18042BA20")]
|
||||
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: 0x0200056F RID: 1391
|
||||
[Token(Token = "0x200056F")]
|
||||
[Flags]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public enum CompilationRelaxations
|
||||
{
|
||||
/// <summary>Marks an assembly as not requiring string-literal interning.</summary>
|
||||
// Token: 0x04001959 RID: 6489
|
||||
[Token(Token = "0x4001959")]
|
||||
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: 0x02000570 RID: 1392
|
||||
[Token(Token = "0x2000570")]
|
||||
[ComVisible(true)]
|
||||
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Module | AttributeTargets.Class | AttributeTargets.Method)]
|
||||
[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: 0x06002C73 RID: 11379 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C73")]
|
||||
[Address(RVA = "0x41F8E0", Offset = "0x41E8E0", VA = "0x18041F8E0")]
|
||||
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: 0x06002C74 RID: 11380 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C74")]
|
||||
[Address(RVA = "0x41F8E0", Offset = "0x41E8E0", VA = "0x18041F8E0")]
|
||||
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: 0x170006BE RID: 1726
|
||||
// (get) Token: 0x06002C75 RID: 11381 RVA: 0x00018CA8 File Offset: 0x00016EA8
|
||||
[Token(Token = "0x170006BE")]
|
||||
public int CompilationRelaxations
|
||||
{
|
||||
[Token(Token = "0x6002C75")]
|
||||
[Address(RVA = "0x40F000", Offset = "0x40E000", VA = "0x18040F000")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0400195A RID: 6490
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400195A")]
|
||||
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: 0x02000571 RID: 1393
|
||||
[Token(Token = "0x2000571")]
|
||||
[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: 0x06002C76 RID: 11382 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C76")]
|
||||
[Address(RVA = "0x42BA20", Offset = "0x42AA20", VA = "0x18042BA20")]
|
||||
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: 0x02000580 RID: 1408
|
||||
[Token(Token = "0x2000580")]
|
||||
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: 0x06002C8C RID: 11404 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C8C")]
|
||||
[Address(RVA = "0x2F30480", Offset = "0x2F2F480", VA = "0x182F30480")]
|
||||
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: 0x06002C8D RID: 11405 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C8D")]
|
||||
[Address(RVA = "0x2F2F6C0", Offset = "0x2F2E6C0", VA = "0x182F2F6C0", Slot = "1")]
|
||||
protected override void Finalize()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002C8E RID: 11406 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C8E")]
|
||||
[Address(RVA = "0x2F2F970", Offset = "0x2F2E970", VA = "0x182F2F970")]
|
||||
private void RehashWithoutResize()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002C8F RID: 11407 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C8F")]
|
||||
[Address(RVA = "0x2F2F900", Offset = "0x2F2E900", VA = "0x182F2F900")]
|
||||
private void RecomputeSize()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002C90 RID: 11408 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C90")]
|
||||
[Address(RVA = "0x2F2FBF0", Offset = "0x2F2EBF0", VA = "0x182F2FBF0")]
|
||||
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: 0x06002C91 RID: 11409 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C91")]
|
||||
[Address(RVA = "0x2F2F3E0", Offset = "0x2F2E3E0", VA = "0x182F2F3E0")]
|
||||
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: 0x06002C92 RID: 11410 RVA: 0x00018D38 File Offset: 0x00016F38
|
||||
[Token(Token = "0x6002C92")]
|
||||
[Address(RVA = "0x2F2FF20", Offset = "0x2F2EF20", VA = "0x182F2FF20")]
|
||||
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: 0x06002C93 RID: 11411 RVA: 0x00018D50 File Offset: 0x00016F50
|
||||
[Token(Token = "0x6002C93")]
|
||||
[Address(RVA = "0x2F301C0", Offset = "0x2F2F1C0", VA = "0x182F301C0")]
|
||||
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: 0x06002C94 RID: 11412 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002C94")]
|
||||
[Address(RVA = "0x2F2F730", Offset = "0x2F2E730", VA = "0x182F2F730")]
|
||||
public TValue GetValue(TKey key, ConditionalWeakTable<TKey, TValue>.CreateValueCallback createValueCallback)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x04001964 RID: 6500
|
||||
[Token(Token = "0x4001964")]
|
||||
private const int INITIAL_SIZE = 13;
|
||||
|
||||
// Token: 0x04001965 RID: 6501
|
||||
[Token(Token = "0x4001965")]
|
||||
private const float LOAD_FACTOR = 0.7f;
|
||||
|
||||
// Token: 0x04001966 RID: 6502
|
||||
[Token(Token = "0x4001966")]
|
||||
private const float COMPACT_FACTOR = 0.5f;
|
||||
|
||||
// Token: 0x04001967 RID: 6503
|
||||
[Token(Token = "0x4001967")]
|
||||
private const float EXPAND_FACTOR = 1.1f;
|
||||
|
||||
// Token: 0x04001968 RID: 6504
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001968")]
|
||||
private Ephemeron[] data;
|
||||
|
||||
// Token: 0x04001969 RID: 6505
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001969")]
|
||||
private object _lock;
|
||||
|
||||
// Token: 0x0400196A RID: 6506
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x400196A")]
|
||||
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: 0x02000581 RID: 1409
|
||||
// (Invoke) Token: 0x06002C96 RID: 11414
|
||||
[Token(Token = "0x2000581")]
|
||||
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: 0x02000567 RID: 1383
|
||||
[Token(Token = "0x2000567")]
|
||||
public struct ConfiguredTaskAwaitable<TResult>
|
||||
{
|
||||
// Token: 0x06002C60 RID: 11360 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C60")]
|
||||
[Address(RVA = "0x2EFBA40", Offset = "0x2EFAA40", VA = "0x182EFBA40")]
|
||||
internal ConfiguredTaskAwaitable(Task<TResult> task, bool continueOnCapturedContext)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Returns an awaiter for this awaitable object.</summary>
|
||||
/// <returns>The awaiter.</returns>
|
||||
// Token: 0x06002C61 RID: 11361 RVA: 0x00018C48 File Offset: 0x00016E48
|
||||
[Token(Token = "0x6002C61")]
|
||||
[Address(RVA = "0x814AC0", Offset = "0x813AC0", VA = "0x180814AC0")]
|
||||
public ConfiguredTaskAwaitable<TResult>.ConfiguredTaskAwaiter GetAwaiter()
|
||||
{
|
||||
return default(ConfiguredTaskAwaitable<TResult>.ConfiguredTaskAwaiter);
|
||||
}
|
||||
|
||||
// Token: 0x0400194B RID: 6475
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x400194B")]
|
||||
private readonly ConfiguredTaskAwaitable<TResult>.ConfiguredTaskAwaiter m_configuredTaskAwaiter;
|
||||
|
||||
/// <summary>Provides an awaiter for an awaitable object(<see cref="T:System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1" />).</summary>
|
||||
/// <typeparam name="TResult" />
|
||||
// Token: 0x02000568 RID: 1384
|
||||
[Token(Token = "0x2000568")]
|
||||
public struct ConfiguredTaskAwaiter : ICriticalNotifyCompletion, INotifyCompletion
|
||||
{
|
||||
// Token: 0x06002C62 RID: 11362 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C62")]
|
||||
[Address(RVA = "0x9E9670", Offset = "0x9E8670", VA = "0x1809E9670")]
|
||||
internal ConfiguredTaskAwaiter(Task<TResult> task, bool continueOnCapturedContext)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets a value that specifies whether the task being awaited has been completed.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the task being awaited has been completed; otherwise, <see langword="false" />.</returns>
|
||||
/// <exception cref="T:System.NullReferenceException">The awaiter was not properly initialized.</exception>
|
||||
// Token: 0x170006BB RID: 1723
|
||||
// (get) Token: 0x06002C63 RID: 11363 RVA: 0x00018C60 File Offset: 0x00016E60
|
||||
[Token(Token = "0x170006BB")]
|
||||
public bool IsCompleted
|
||||
{
|
||||
[Token(Token = "0x6002C63")]
|
||||
[Address(RVA = "0x2CEC370", Offset = "0x2CEB370", VA = "0x182CEC370")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Schedules the continuation action for the task associated with this awaiter.</summary>
|
||||
/// <param name="continuation">The action to invoke when the await operation completes.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="continuation" /> argument is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.NullReferenceException">The awaiter was not properly initialized.</exception>
|
||||
// Token: 0x06002C64 RID: 11364 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C64")]
|
||||
[Address(RVA = "0x2CEC310", Offset = "0x2CEB310", VA = "0x182CEC310", Slot = "5")]
|
||||
public void OnCompleted(Action continuation)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Schedules the continuation action for the task associated with this awaiter.</summary>
|
||||
/// <param name="continuation">The action to invoke when the await operation completes.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="continuation" /> argument is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.NullReferenceException">The awaiter was not properly initialized.</exception>
|
||||
// Token: 0x06002C65 RID: 11365 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C65")]
|
||||
[Address(RVA = "0x2CEC340", Offset = "0x2CEB340", VA = "0x182CEC340", Slot = "4")]
|
||||
public void UnsafeOnCompleted(Action continuation)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Ends the await on the completed task.</summary>
|
||||
/// <returns>The result of the completed task.</returns>
|
||||
/// <exception cref="T:System.NullReferenceException">The awaiter was not properly initialized.</exception>
|
||||
/// <exception cref="T:System.Threading.Tasks.TaskCanceledException">The task was canceled.</exception>
|
||||
/// <exception cref="T:System.Exception">The task completed in a faulted state.</exception>
|
||||
// Token: 0x06002C66 RID: 11366 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002C66")]
|
||||
[Address(RVA = "0x2F02CE0", Offset = "0x2F01CE0", VA = "0x182F02CE0")]
|
||||
public TResult GetResult()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0400194C RID: 6476
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x400194C")]
|
||||
private readonly Task<TResult> m_task;
|
||||
|
||||
// Token: 0x0400194D RID: 6477
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x400194D")]
|
||||
private readonly bool m_continueOnCapturedContext;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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: 0x02000565 RID: 1381
|
||||
[Token(Token = "0x2000565")]
|
||||
public struct ConfiguredTaskAwaitable
|
||||
{
|
||||
// Token: 0x06002C59 RID: 11353 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C59")]
|
||||
[Address(RVA = "0x2CEC2E0", Offset = "0x2CEB2E0", VA = "0x182CEC2E0")]
|
||||
internal ConfiguredTaskAwaitable(Task task, bool continueOnCapturedContext)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Returns an awaiter for this awaitable object.</summary>
|
||||
/// <returns>The awaiter.</returns>
|
||||
// Token: 0x06002C5A RID: 11354 RVA: 0x00018C18 File Offset: 0x00016E18
|
||||
[Token(Token = "0x6002C5A")]
|
||||
[Address(RVA = "0x814AC0", Offset = "0x813AC0", VA = "0x180814AC0")]
|
||||
public ConfiguredTaskAwaitable.ConfiguredTaskAwaiter GetAwaiter()
|
||||
{
|
||||
return default(ConfiguredTaskAwaitable.ConfiguredTaskAwaiter);
|
||||
}
|
||||
|
||||
// Token: 0x04001948 RID: 6472
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001948")]
|
||||
private readonly ConfiguredTaskAwaitable.ConfiguredTaskAwaiter m_configuredTaskAwaiter;
|
||||
|
||||
/// <summary>Provides an awaiter for an awaitable (<see cref="T:System.Runtime.CompilerServices.ConfiguredTaskAwaitable" />) object.</summary>
|
||||
// Token: 0x02000566 RID: 1382
|
||||
[Token(Token = "0x2000566")]
|
||||
public struct ConfiguredTaskAwaiter : ICriticalNotifyCompletion, INotifyCompletion
|
||||
{
|
||||
// Token: 0x06002C5B RID: 11355 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C5B")]
|
||||
[Address(RVA = "0x9E9670", Offset = "0x9E8670", VA = "0x1809E9670")]
|
||||
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: 0x170006BA RID: 1722
|
||||
// (get) Token: 0x06002C5C RID: 11356 RVA: 0x00018C30 File Offset: 0x00016E30
|
||||
[Token(Token = "0x170006BA")]
|
||||
public bool IsCompleted
|
||||
{
|
||||
[Token(Token = "0x6002C5C")]
|
||||
[Address(RVA = "0x2CEC370", Offset = "0x2CEB370", VA = "0x182CEC370")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Schedules the continuation action for the task associated with this awaiter.</summary>
|
||||
/// <param name="continuation">The action to invoke when the await operation completes.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="continuation" /> argument is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.NullReferenceException">The awaiter was not properly initialized.</exception>
|
||||
// Token: 0x06002C5D RID: 11357 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C5D")]
|
||||
[Address(RVA = "0x2CEC310", Offset = "0x2CEB310", VA = "0x182CEC310", Slot = "5")]
|
||||
public void OnCompleted(Action continuation)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Schedules the continuation action for the task associated with this awaiter.</summary>
|
||||
/// <param name="continuation">The action to invoke when the await operation completes.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="continuation" /> argument is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.NullReferenceException">The awaiter was not properly initialized.</exception>
|
||||
// Token: 0x06002C5E RID: 11358 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C5E")]
|
||||
[Address(RVA = "0x2CEC340", Offset = "0x2CEB340", VA = "0x182CEC340", 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: 0x06002C5F RID: 11359 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C5F")]
|
||||
[Address(RVA = "0x2CEC300", Offset = "0x2CEB300", VA = "0x182CEC300")]
|
||||
public void GetResult()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001949 RID: 6473
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001949")]
|
||||
private readonly Task m_task;
|
||||
|
||||
// Token: 0x0400194A RID: 6474
|
||||
[FieldOffset(Offset = "0x8")]
|
||||
[Token(Token = "0x400194A")]
|
||||
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: 0x02000572 RID: 1394
|
||||
[Token(Token = "0x2000572")]
|
||||
[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: 0x170006BF RID: 1727
|
||||
// (get) Token: 0x06002C77 RID: 11383
|
||||
[Token(Token = "0x170006BF")]
|
||||
public abstract object Value
|
||||
{
|
||||
[Token(Token = "0x6002C77")]
|
||||
[Address(Slot = "7")]
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.CustomConstantAttribute" /> class.</summary>
|
||||
// Token: 0x06002C78 RID: 11384 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C78")]
|
||||
[Address(RVA = "0x42BA20", Offset = "0x42AA20", VA = "0x18042BA20")]
|
||||
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: 0x02000573 RID: 1395
|
||||
[Token(Token = "0x2000573")]
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter)]
|
||||
[ComVisible(true)]
|
||||
[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: 0x170006C0 RID: 1728
|
||||
// (get) Token: 0x06002C79 RID: 11385 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170006C0")]
|
||||
public override object Value
|
||||
{
|
||||
[Token(Token = "0x6002C79")]
|
||||
[Address(RVA = "0x2CED6B0", Offset = "0x2CEC6B0", VA = "0x182CED6B0", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0400195B RID: 6491
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400195B")]
|
||||
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: 0x02000574 RID: 1396
|
||||
[Token(Token = "0x2000574")]
|
||||
[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" /> > 28.</exception>
|
||||
// Token: 0x06002C7A RID: 11386 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C7A")]
|
||||
[Address(RVA = "0x2CED700", Offset = "0x2CEC700", VA = "0x182CED700")]
|
||||
[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: 0x170006C1 RID: 1729
|
||||
// (get) Token: 0x06002C7B RID: 11387 RVA: 0x00018CC0 File Offset: 0x00016EC0
|
||||
[Token(Token = "0x170006C1")]
|
||||
public decimal Value
|
||||
{
|
||||
[Token(Token = "0x6002C7B")]
|
||||
[Address(RVA = "0x814AB0", Offset = "0x813AB0", VA = "0x180814AB0")]
|
||||
get
|
||||
{
|
||||
return 0m;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0400195C RID: 6492
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400195C")]
|
||||
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: 0x0200056D RID: 1389
|
||||
[Token(Token = "0x200056D")]
|
||||
[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: 0x06002C71 RID: 11377 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C71")]
|
||||
[Address(RVA = "0x41F8E0", Offset = "0x41E8E0", VA = "0x18041F8E0")]
|
||||
public DefaultDependencyAttribute(LoadHint loadHintArgument)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001955 RID: 6485
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001955")]
|
||||
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: 0x0200056E RID: 1390
|
||||
[Token(Token = "0x200056E")]
|
||||
[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: 0x06002C72 RID: 11378 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C72")]
|
||||
[Address(RVA = "0xE66140", Offset = "0xE65140", VA = "0x180E66140")]
|
||||
public DependencyAttribute(string dependentAssemblyArgument, LoadHint loadHintArgument)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001956 RID: 6486
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001956")]
|
||||
private string dependentAssembly;
|
||||
|
||||
// Token: 0x04001957 RID: 6487
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001957")]
|
||||
private LoadHint loadHint;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.CompilerServices
|
||||
{
|
||||
// Token: 0x0200057F RID: 1407
|
||||
[Token(Token = "0x200057F")]
|
||||
internal struct Ephemeron
|
||||
{
|
||||
// Token: 0x04001962 RID: 6498
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001962")]
|
||||
internal object key;
|
||||
|
||||
// Token: 0x04001963 RID: 6499
|
||||
[FieldOffset(Offset = "0x8")]
|
||||
[Token(Token = "0x4001963")]
|
||||
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: 0x02000575 RID: 1397
|
||||
[Token(Token = "0x2000575")]
|
||||
[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: 0x06002C7C RID: 11388 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C7C")]
|
||||
[Address(RVA = "0x42BA20", Offset = "0x42AA20", VA = "0x18042BA20")]
|
||||
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: 0x02000576 RID: 1398
|
||||
[Token(Token = "0x2000576")]
|
||||
[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: 0x06002C7D RID: 11389 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C7D")]
|
||||
[Address(RVA = "0xE66140", Offset = "0xE65140", VA = "0x180E66140")]
|
||||
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: 0x170006C2 RID: 1730
|
||||
// (get) Token: 0x06002C7E RID: 11390 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170006C2")]
|
||||
public Type ElementType
|
||||
{
|
||||
[Token(Token = "0x6002C7E")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
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: 0x170006C3 RID: 1731
|
||||
// (get) Token: 0x06002C7F RID: 11391 RVA: 0x00018CD8 File Offset: 0x00016ED8
|
||||
[Token(Token = "0x170006C3")]
|
||||
public int Length
|
||||
{
|
||||
[Token(Token = "0x6002C7F")]
|
||||
[Address(RVA = "0x411540", Offset = "0x410540", VA = "0x180411540")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0400195D RID: 6493
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400195D")]
|
||||
private Type elementType;
|
||||
|
||||
// Token: 0x0400195E RID: 6494
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400195E")]
|
||||
private int length;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.CompilerServices
|
||||
{
|
||||
// Token: 0x02000578 RID: 1400
|
||||
[Token(Token = "0x2000578")]
|
||||
[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: 0x06002C84 RID: 11396 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C84")]
|
||||
[Address(RVA = "0x42BA20", Offset = "0x42AA20", VA = "0x18042BA20")]
|
||||
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: 0x0200055C RID: 1372
|
||||
[Token(Token = "0x200055C")]
|
||||
public interface IAsyncStateMachine
|
||||
{
|
||||
/// <summary>Moves the state machine to its next state.</summary>
|
||||
// Token: 0x06002C3D RID: 11325
|
||||
[Token(Token = "0x6002C3D")]
|
||||
[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: 0x06002C3E RID: 11326
|
||||
[Token(Token = "0x6002C3E")]
|
||||
[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: 0x0200055E RID: 1374
|
||||
[Token(Token = "0x200055E")]
|
||||
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: 0x06002C40 RID: 11328
|
||||
[Token(Token = "0x6002C40")]
|
||||
[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: 0x0200055D RID: 1373
|
||||
[Token(Token = "0x200055D")]
|
||||
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: 0x06002C3F RID: 11327
|
||||
[Token(Token = "0x6002C3F")]
|
||||
[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: 0x02000577 RID: 1399
|
||||
[Token(Token = "0x2000577")]
|
||||
[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: 0x06002C80 RID: 11392 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C80")]
|
||||
[Address(RVA = "0x2CEEAB0", Offset = "0x2CEDAB0", VA = "0x182CEEAB0")]
|
||||
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: 0x170006C4 RID: 1732
|
||||
// (get) Token: 0x06002C81 RID: 11393 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170006C4")]
|
||||
public string AssemblyName
|
||||
{
|
||||
[Token(Token = "0x6002C81")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>This property is not implemented.</summary>
|
||||
/// <returns>This property does not return a value.</returns>
|
||||
// Token: 0x170006C5 RID: 1733
|
||||
// (get) Token: 0x06002C82 RID: 11394 RVA: 0x00018CF0 File Offset: 0x00016EF0
|
||||
// (set) Token: 0x06002C83 RID: 11395 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170006C5")]
|
||||
public bool AllInternalsVisible
|
||||
{
|
||||
[Token(Token = "0x6002C82")]
|
||||
[Address(RVA = "0x497570", Offset = "0x496570", VA = "0x180497570")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
[Token(Token = "0x6002C83")]
|
||||
[Address(RVA = "0x611070", Offset = "0x610070", VA = "0x180611070")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0400195F RID: 6495
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400195F")]
|
||||
private string _assemblyName;
|
||||
|
||||
// Token: 0x04001960 RID: 6496
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001960")]
|
||||
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: 0x0200054C RID: 1356
|
||||
[Token(Token = "0x200054C")]
|
||||
[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: 0x06002C05 RID: 11269 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C05")]
|
||||
[Address(RVA = "0x42BA20", Offset = "0x42AA20", VA = "0x18042BA20")]
|
||||
public IsByRefLikeAttribute()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.CompilerServices
|
||||
{
|
||||
/// <summary>Marks a program element as read-only.</summary>
|
||||
// Token: 0x0200054D RID: 1357
|
||||
[Token(Token = "0x200054D")]
|
||||
[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: 0x06002C06 RID: 11270 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C06")]
|
||||
[Address(RVA = "0x42BA20", Offset = "0x42AA20", VA = "0x18042BA20")]
|
||||
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: 0x02000579 RID: 1401
|
||||
[Token(Token = "0x2000579")]
|
||||
[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: 0x0200055F RID: 1375
|
||||
[Token(Token = "0x200055F")]
|
||||
[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: 0x06002C41 RID: 11329 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C41")]
|
||||
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
|
||||
public IteratorStateMachineAttribute(Type stateMachineType)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.CompilerServices
|
||||
{
|
||||
// Token: 0x0200057E RID: 1406
|
||||
[Token(Token = "0x200057E")]
|
||||
[FriendAccessAllowed]
|
||||
internal static class JitHelpers
|
||||
{
|
||||
// Token: 0x06002C89 RID: 11401 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002C89")]
|
||||
[Address(RVA = "0x1E590E0", Offset = "0x1E580E0", VA = "0x181E590E0")]
|
||||
internal static T UnsafeCast<T>(object o) where T : class
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002C8A RID: 11402 RVA: 0x00018D08 File Offset: 0x00016F08
|
||||
[Token(Token = "0x6002C8A")]
|
||||
[Address(RVA = "0x1E590E0", Offset = "0x1E580E0", VA = "0x181E590E0")]
|
||||
internal static int UnsafeEnumCast<T>(T val) where T : struct
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06002C8B RID: 11403 RVA: 0x00018D20 File Offset: 0x00016F20
|
||||
[Token(Token = "0x6002C8B")]
|
||||
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: 0x0200056C RID: 1388
|
||||
[Token(Token = "0x200056C")]
|
||||
[Serializable]
|
||||
public enum LoadHint
|
||||
{
|
||||
/// <summary>No preference specified.</summary>
|
||||
// Token: 0x04001952 RID: 6482
|
||||
[Token(Token = "0x4001952")]
|
||||
Default,
|
||||
/// <summary>The dependency is always loaded.</summary>
|
||||
// Token: 0x04001953 RID: 6483
|
||||
[Token(Token = "0x4001953")]
|
||||
Always,
|
||||
/// <summary>The dependency is sometimes loaded.</summary>
|
||||
// Token: 0x04001954 RID: 6484
|
||||
[Token(Token = "0x4001954")]
|
||||
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: 0x02000560 RID: 1376
|
||||
[Token(Token = "0x2000560")]
|
||||
[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: 0x06002C42 RID: 11330 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C42")]
|
||||
[Address(RVA = "0x42BA20", Offset = "0x42AA20", VA = "0x18042BA20")]
|
||||
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: 0x170006B5 RID: 1717
|
||||
// (set) Token: 0x06002C43 RID: 11331 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170006B5")]
|
||||
public bool WrapNonExceptionThrows
|
||||
{
|
||||
[Token(Token = "0x6002C43")]
|
||||
[Address(RVA = "0x62ADC0", Offset = "0x629DC0", VA = "0x18062ADC0")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04001943 RID: 6467
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001943")]
|
||||
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: 0x02000582 RID: 1410
|
||||
[Token(Token = "0x2000582")]
|
||||
public static class RuntimeHelpers
|
||||
{
|
||||
// Token: 0x06002C99 RID: 11417 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C99")]
|
||||
[Address(RVA = "0x2CFB360", Offset = "0x2CFA360", VA = "0x182CFB360")]
|
||||
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: 0x06002C9A RID: 11418 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C9A")]
|
||||
[Address(RVA = "0x2CFB2E0", Offset = "0x2CFA2E0", VA = "0x182CFB2E0")]
|
||||
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: 0x170006C6 RID: 1734
|
||||
// (get) Token: 0x06002C9B RID: 11419 RVA: 0x00018D68 File Offset: 0x00016F68
|
||||
[Token(Token = "0x170006C6")]
|
||||
public static int OffsetToStringData
|
||||
{
|
||||
[Token(Token = "0x6002C9B")]
|
||||
[Address(RVA = "0x2CFB400", Offset = "0x2CFA400", VA = "0x182CFB400")]
|
||||
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: 0x06002C9C RID: 11420 RVA: 0x00018D80 File Offset: 0x00016F80
|
||||
[Token(Token = "0x6002C9C")]
|
||||
[Address(RVA = "0x4F9150", Offset = "0x4F8150", VA = "0x1804F9150")]
|
||||
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: 0x06002C9D RID: 11421 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002C9D")]
|
||||
[Address(RVA = "0x2CFB2D0", Offset = "0x2CFA2D0", VA = "0x182CFB2D0")]
|
||||
public static object GetObjectValue(object obj)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002C9E RID: 11422 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C9E")]
|
||||
[Address(RVA = "0x2CFB3F0", Offset = "0x2CFA3F0", VA = "0x182CFB3F0")]
|
||||
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: 0x06002C9F RID: 11423 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C9F")]
|
||||
[Address(RVA = "0x2CFB370", Offset = "0x2CFA370", VA = "0x182CFB370")]
|
||||
public static void RunClassConstructor(RuntimeTypeHandle type)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002CA0 RID: 11424 RVA: 0x00018D98 File Offset: 0x00016F98
|
||||
[Token(Token = "0x6002CA0")]
|
||||
[Address(RVA = "0xAE5C70", Offset = "0xAE4C70", VA = "0x180AE5C70")]
|
||||
private static bool SufficientExecutionStack()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06002CA1 RID: 11425 RVA: 0x00018DB0 File Offset: 0x00016FB0
|
||||
[Token(Token = "0x6002CA1")]
|
||||
[Address(RVA = "0xAE5C70", Offset = "0xAE4C70", VA = "0x180AE5C70")]
|
||||
public static bool TryEnsureSufficientExecutionStack()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Designates a body of code as a constrained execution region (CER).</summary>
|
||||
// Token: 0x06002CA2 RID: 11426 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CA2")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0")]
|
||||
[MonoTODO]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
|
||||
[MonoTODO("Currently a no-op")]
|
||||
public static void PrepareConstrainedRegions()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002CA3 RID: 11427 RVA: 0x00018DC8 File Offset: 0x00016FC8
|
||||
[Token(Token = "0x6002CA3")]
|
||||
[Address(RVA = "0x21B5930", Offset = "0x21B4930", VA = "0x1821B5930")]
|
||||
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: 0x02000561 RID: 1377
|
||||
[Token(Token = "0x2000561")]
|
||||
[Serializable]
|
||||
public sealed class RuntimeWrappedException : Exception
|
||||
{
|
||||
// Token: 0x06002C44 RID: 11332 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C44")]
|
||||
[Address(RVA = "0x2CFC540", Offset = "0x2CFB540", VA = "0x182CFC540")]
|
||||
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: 0x170006B6 RID: 1718
|
||||
// (get) Token: 0x06002C45 RID: 11333 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170006B6")]
|
||||
public object WrappedException
|
||||
{
|
||||
[Token(Token = "0x6002C45")]
|
||||
[Address(RVA = "0x4C31C0", Offset = "0x4C21C0", VA = "0x1804C31C0")]
|
||||
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: 0x06002C46 RID: 11334 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C46")]
|
||||
[Address(RVA = "0x2CFC450", Offset = "0x2CFB450", VA = "0x182CFC450", Slot = "10")]
|
||||
public override void GetObjectData(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002C47 RID: 11335 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C47")]
|
||||
[Address(RVA = "0x2CFC610", Offset = "0x2CFB610", VA = "0x182CFC610")]
|
||||
internal RuntimeWrappedException(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002C48 RID: 11336 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C48")]
|
||||
[Address(RVA = "0x2CFC5E0", Offset = "0x2CFB5E0", VA = "0x182CFC5E0")]
|
||||
internal RuntimeWrappedException()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001944 RID: 6468
|
||||
[FieldOffset(Offset = "0x88")]
|
||||
[Token(Token = "0x4001944")]
|
||||
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: 0x02000562 RID: 1378
|
||||
[Token(Token = "0x2000562")]
|
||||
[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: 0x170006B7 RID: 1719
|
||||
// (set) Token: 0x06002C49 RID: 11337 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170006B7")]
|
||||
private Type StateMachineType
|
||||
{
|
||||
[Token(Token = "0x6002C49")]
|
||||
[Address(RVA = "0x415800", Offset = "0x414800", VA = "0x180415800")]
|
||||
[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: 0x06002C4A RID: 11338 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C4A")]
|
||||
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
|
||||
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: 0x0200057D RID: 1405
|
||||
[Token(Token = "0x200057D")]
|
||||
[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: 0x06002C88 RID: 11400 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C88")]
|
||||
[Address(RVA = "0x42BA20", Offset = "0x42AA20", VA = "0x18042BA20")]
|
||||
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: 0x0200057A RID: 1402
|
||||
[Token(Token = "0x200057A")]
|
||||
[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: 0x06002C85 RID: 11397 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C85")]
|
||||
[Address(RVA = "0x42BA20", Offset = "0x42AA20", VA = "0x18042BA20")]
|
||||
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: 0x02000564 RID: 1380
|
||||
[Token(Token = "0x2000564")]
|
||||
public struct TaskAwaiter<TResult> : ICriticalNotifyCompletion, INotifyCompletion
|
||||
{
|
||||
// Token: 0x06002C54 RID: 11348 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C54")]
|
||||
[Address(RVA = "0x593200", Offset = "0x592200", VA = "0x180593200")]
|
||||
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: 0x170006B9 RID: 1721
|
||||
// (get) Token: 0x06002C55 RID: 11349 RVA: 0x00018C00 File Offset: 0x00016E00
|
||||
[Token(Token = "0x170006B9")]
|
||||
public bool IsCompleted
|
||||
{
|
||||
[Token(Token = "0x6002C55")]
|
||||
[Address(RVA = "0x2CEC370", Offset = "0x2CEB370", VA = "0x182CEC370")]
|
||||
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: 0x06002C56 RID: 11350 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C56")]
|
||||
[Address(RVA = "0x2CFD110", Offset = "0x2CFC110", VA = "0x182CFD110", 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: 0x06002C57 RID: 11351 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C57")]
|
||||
[Address(RVA = "0x2CFD270", Offset = "0x2CFC270", VA = "0x182CFD270", 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: 0x06002C58 RID: 11352 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002C58")]
|
||||
[Address(RVA = "0x2F02CE0", Offset = "0x2F01CE0", VA = "0x182F02CE0")]
|
||||
public TResult GetResult()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x04001947 RID: 6471
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001947")]
|
||||
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: 0x02000563 RID: 1379
|
||||
[Token(Token = "0x2000563")]
|
||||
public struct TaskAwaiter : ICriticalNotifyCompletion, INotifyCompletion
|
||||
{
|
||||
// Token: 0x06002C4B RID: 11339 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C4B")]
|
||||
[Address(RVA = "0x593200", Offset = "0x592200", VA = "0x180593200")]
|
||||
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: 0x170006B8 RID: 1720
|
||||
// (get) Token: 0x06002C4C RID: 11340 RVA: 0x00018BE8 File Offset: 0x00016DE8
|
||||
[Token(Token = "0x170006B8")]
|
||||
public bool IsCompleted
|
||||
{
|
||||
[Token(Token = "0x6002C4C")]
|
||||
[Address(RVA = "0x2CEC370", Offset = "0x2CEB370", VA = "0x182CEC370")]
|
||||
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: 0x06002C4D RID: 11341 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C4D")]
|
||||
[Address(RVA = "0x2CFD110", Offset = "0x2CFC110", VA = "0x182CFD110", 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: 0x06002C4E RID: 11342 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C4E")]
|
||||
[Address(RVA = "0x2CFD270", Offset = "0x2CFC270", VA = "0x182CFD270", 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: 0x06002C4F RID: 11343 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C4F")]
|
||||
[Address(RVA = "0x2CEC300", Offset = "0x2CEB300", VA = "0x182CEC300")]
|
||||
public void GetResult()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002C50 RID: 11344 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C50")]
|
||||
[Address(RVA = "0x2CFD290", Offset = "0x2CFC290", VA = "0x182CFD290")]
|
||||
internal static void ValidateEnd(Task task)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002C51 RID: 11345 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C51")]
|
||||
[Address(RVA = "0x2CFCEE0", Offset = "0x2CFBEE0", VA = "0x182CFCEE0")]
|
||||
private static void HandleNonSuccessAndDebuggerNotification(Task task)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002C52 RID: 11346 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C52")]
|
||||
[Address(RVA = "0x2CFD140", Offset = "0x2CFC140", VA = "0x182CFD140")]
|
||||
private static void ThrowForNonSuccess(Task task)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002C53 RID: 11347 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C53")]
|
||||
[Address(RVA = "0x2CFD040", Offset = "0x2CFC040", VA = "0x182CFD040")]
|
||||
internal static void OnCompletedInternal(Task task, Action continuation, bool continueOnCapturedContext, bool flowExecutionContext)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001946 RID: 6470
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001946")]
|
||||
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: 0x0200054E RID: 1358
|
||||
[Token(Token = "0x200054E")]
|
||||
[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: 0x06002C07 RID: 11271 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C07")]
|
||||
[Address(RVA = "0x2CFD410", Offset = "0x2CFC410", VA = "0x182CFD410")]
|
||||
public TupleElementNamesAttribute(string[] transformNames)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400192A RID: 6442
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400192A")]
|
||||
private readonly string[] _transformNames;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.CompilerServices
|
||||
{
|
||||
// Token: 0x0200057B RID: 1403
|
||||
[Token(Token = "0x200057B")]
|
||||
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface)]
|
||||
internal sealed class TypeDependencyAttribute : Attribute
|
||||
{
|
||||
// Token: 0x06002C86 RID: 11398 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C86")]
|
||||
[Address(RVA = "0x2CFD490", Offset = "0x2CFC490", VA = "0x182CFD490")]
|
||||
public TypeDependencyAttribute(string typeName)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001961 RID: 6497
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001961")]
|
||||
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: 0x02000569 RID: 1385
|
||||
[Token(Token = "0x2000569")]
|
||||
[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: 0x06002C67 RID: 11367 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C67")]
|
||||
[Address(RVA = "0x2CFD510", Offset = "0x2CFC510", VA = "0x182CFD510")]
|
||||
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: 0x170006BC RID: 1724
|
||||
// (get) Token: 0x06002C68 RID: 11368 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170006BC")]
|
||||
public string AssemblyFullName
|
||||
{
|
||||
[Token(Token = "0x6002C68")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0400194E RID: 6478
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400194E")]
|
||||
private string assemblyFullName;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.CompilerServices
|
||||
{
|
||||
// Token: 0x02000583 RID: 1411
|
||||
[Token(Token = "0x2000583")]
|
||||
internal static class Unsafe
|
||||
{
|
||||
// Token: 0x06002CA4 RID: 11428 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002CA4")]
|
||||
[Address(RVA = "0x1E63960", Offset = "0x1E62960", VA = "0x181E63960")]
|
||||
public static T Add<T>(ref T source, int elementOffset)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002CA5 RID: 11429 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002CA5")]
|
||||
[Address(RVA = "0x1E63950", Offset = "0x1E62950", VA = "0x181E63950")]
|
||||
public static T AddByteOffset<T>(ref T source, IntPtr byteOffset)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002CA6 RID: 11430 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002CA6")]
|
||||
[Address(RVA = "0x4A65C0", Offset = "0x4A55C0", VA = "0x1804A65C0")]
|
||||
public static T As<T>(object o) where T : class
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002CA7 RID: 11431 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002CA7")]
|
||||
[Address(RVA = "0x4A65C0", Offset = "0x4A55C0", VA = "0x1804A65C0")]
|
||||
public unsafe static T AsRef<T>(void* source)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002CA8 RID: 11432 RVA: 0x00018DE0 File Offset: 0x00016FE0
|
||||
[Token(Token = "0x6002CA8")]
|
||||
[Address(RVA = "0x27D8DD0", Offset = "0x27D7DD0", VA = "0x1827D8DD0")]
|
||||
public static IntPtr ByteOffset<T>(ref T origin, ref T target)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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: 0x0200057C RID: 1404
|
||||
[Token(Token = "0x200057C")]
|
||||
[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: 0x06002C87 RID: 11399 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C87")]
|
||||
[Address(RVA = "0x42BA20", Offset = "0x42AA20", VA = "0x18042BA20")]
|
||||
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: 0x0200056A RID: 1386
|
||||
[Token(Token = "0x200056A")]
|
||||
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: 0x06002C69 RID: 11369 RVA: 0x00018C78 File Offset: 0x00016E78
|
||||
[Token(Token = "0x6002C69")]
|
||||
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690")]
|
||||
public YieldAwaitable.YieldAwaiter GetAwaiter()
|
||||
{
|
||||
return default(YieldAwaitable.YieldAwaiter);
|
||||
}
|
||||
|
||||
/// <summary>Provides an awaiter for switching into a target environment.</summary>
|
||||
// Token: 0x0200056B RID: 1387
|
||||
[Token(Token = "0x200056B")]
|
||||
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: 0x170006BD RID: 1725
|
||||
// (get) Token: 0x06002C6A RID: 11370 RVA: 0x00018C90 File Offset: 0x00016E90
|
||||
[Token(Token = "0x170006BD")]
|
||||
public bool IsCompleted
|
||||
{
|
||||
[Token(Token = "0x6002C6A")]
|
||||
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690")]
|
||||
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: 0x06002C6B RID: 11371 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C6B")]
|
||||
[Address(RVA = "0x2CFD990", Offset = "0x2CFC990", VA = "0x182CFD990", 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: 0x06002C6C RID: 11372 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C6C")]
|
||||
[Address(RVA = "0x2CFDD30", Offset = "0x2CFCD30", VA = "0x182CFDD30", Slot = "4")]
|
||||
public void UnsafeOnCompleted(Action continuation)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002C6D RID: 11373 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C6D")]
|
||||
[Address(RVA = "0x2CFD9F0", Offset = "0x2CFC9F0", VA = "0x182CFD9F0")]
|
||||
private static void QueueContinuation(Action continuation, bool flowContext)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002C6E RID: 11374 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C6E")]
|
||||
[Address(RVA = "0x2CFDCD0", Offset = "0x2CFCCD0", VA = "0x182CFDCD0")]
|
||||
private static void RunAction(object state)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Ends the await operation.</summary>
|
||||
// Token: 0x06002C6F RID: 11375 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002C6F")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0")]
|
||||
public void GetResult()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400194F RID: 6479
|
||||
[Token(Token = "0x400194F")]
|
||||
private static readonly WaitCallback s_waitCallbackRunAction;
|
||||
|
||||
// Token: 0x04001950 RID: 6480
|
||||
[Token(Token = "0x4001950")]
|
||||
private static readonly SendOrPostCallback s_sendOrPostCallbackRunAction;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user