using System;
using System.Threading;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// Provides the context for waiting when asynchronously switching into a target environment.
// Token: 0x0200056A RID: 1386
[Token(Token = "0x200056A")]
public struct YieldAwaitable
{
/// Retrieves a object for this instance of the class.
/// The object that is used to monitor the completion of an asynchronous operation.
// 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);
}
/// Provides an awaiter for switching into a target environment.
// Token: 0x0200056B RID: 1387
[Token(Token = "0x200056B")]
public struct YieldAwaiter : ICriticalNotifyCompletion, INotifyCompletion
{
/// Gets a value that indicates whether a yield is not required.
/// Always , which indicates that a yield is always required for .
// 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);
}
}
/// Sets the continuation to invoke.
/// The action to invoke asynchronously.
///
/// is .
// 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)
{
}
/// Posts the back to the current context.
/// The action to invoke asynchronously.
/// The argument is .
// 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)
{
}
/// Ends the await operation.
// 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;
}
}
}