using System; using System.Threading; using Cpp2IlInjected; namespace System.Runtime.CompilerServices { /// Provides the context for waiting when asynchronously switching into a target environment. // Token: 0x0200054C RID: 1356 [Token(Token = "0x200054C")] 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: 0x06002A5A RID: 10842 RVA: 0x000168A8 File Offset: 0x00014AA8 [Token(Token = "0x6002A5A")] [Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930")] public YieldAwaitable.YieldAwaiter GetAwaiter() { return default(YieldAwaitable.YieldAwaiter); } /// Provides an awaiter for switching into a target environment. // Token: 0x0200054D RID: 1357 [Token(Token = "0x200054D")] 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: 0x17000645 RID: 1605 // (get) Token: 0x06002A5B RID: 10843 RVA: 0x000168C0 File Offset: 0x00014AC0 [Token(Token = "0x17000645")] public bool IsCompleted { [Token(Token = "0x6002A5B")] [Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930")] get { return default(bool); } } /// Sets the continuation to invoke. /// The action to invoke asynchronously. /// /// is . // Token: 0x06002A5C RID: 10844 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002A5C")] [Address(RVA = "0x2960EF0", Offset = "0x295FCF0", VA = "0x182960EF0", Slot = "5")] public void OnCompleted(Action continuation) { } /// Posts the back to the current context. /// The action to invoke asynchronously. /// The argument is . // Token: 0x06002A5D RID: 10845 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002A5D")] [Address(RVA = "0x2961290", Offset = "0x2960090", VA = "0x182961290", Slot = "4")] public void UnsafeOnCompleted(Action continuation) { } // Token: 0x06002A5E RID: 10846 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002A5E")] [Address(RVA = "0x2960F50", Offset = "0x295FD50", VA = "0x182960F50")] private static void QueueContinuation(Action continuation, bool flowContext) { } // Token: 0x06002A5F RID: 10847 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002A5F")] [Address(RVA = "0x2961230", Offset = "0x2960030", VA = "0x182961230")] private static void RunAction(object state) { } /// Ends the await operation. // Token: 0x06002A60 RID: 10848 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002A60")] [Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080")] public void GetResult() { } // Token: 0x0400188C RID: 6284 [Token(Token = "0x400188C")] private static readonly WaitCallback s_waitCallbackRunAction; // Token: 0x0400188D RID: 6285 [Token(Token = "0x400188D")] private static readonly SendOrPostCallback s_sendOrPostCallbackRunAction; } } }