implements IEnumerator
0x00x0060
Members 15
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x04 | _spinLock | SpinLock | Private | — | |
| 0x08 | _pool | ThreadLocal<UnityEngine.Pool.ObjectPool<UnityEngine.Awaitable>> | PrivateStatic+1 flags | — | |
| 0x0014 | 0x04 | padding / unreflected | |||
| 0x08 | _handle | AwaitableHandle | Private | — | |
| 0x08 | _exceptionToRethrow | ExceptionDispatchInfo | Private | — | |
| 0x01 | _managedAwaitableDone | bool | Private | — | |
| 0x0029 | 0x03 | padding / unreflected | |||
| 0x04 | _completionThreadAffinity | AwaiterCompletionThreadAffinity | Private | — | |
| 0x08 | _continuation | Action | Private | — | |
| 0x20 | _cancelTokenRegistration | Nullable<System.Threading.CancellationTokenRegistration> | Private | — | |
| 0x08 | _managedCompletionQueue | DoubleBufferedAwaitableList | Private | — | |
| 0x01 | _nextFrameAndEndOfFrameWiredUp | bool | PrivateStatic | — | |
| 0x18 | _nextFrameAndEndOfFrameWiredUpCTRegistration | CancellationTokenRegistration | PrivateStatic | — | |
| 0x08 | _nextFrameAwaitables | DoubleBufferedAwaitableList | PrivateStatic+1 flags | — | |
| 0x08 | _endOfFrameAwaitables | DoubleBufferedAwaitableList | PrivateStatic+1 flags | — | |
| 0x08 | _synchronizationContext | SynchronizationContext | PrivateStatic | — | |
| 0x04 | _mainThreadId | int | PrivateStatic | — | |
Functions 41
| Signature | Flags | Native | Params |
|---|---|---|---|
| Awaitable FromAsyncOperation(AsyncOperation op, const CancellationToken& cancellationToken) | PublicStatic | 0x08 | |
| long FromAsyncOperationInternal(long asyncOperation) | PrivateStatic | 0x08 | |
| Awaiter GetAwaiter() | Public | 0x08 | |
| void SetExceptionFromNative(Exception ex) | Private | 0x08 | |
| void RunContinuation() | Private | 0x00 | |
| void AttachManagedGCHandleToNativeAwaitable(long nativeAwaitable, ulong gcHandle) | PrivateStatic | 0x08 | |
| void ReleaseNativeAwaitable(long nativeAwaitable) | PrivateStatic | 0x08 | |
| void CancelNativeAwaitable(long nativeAwaitable) | PrivateStatic | 0x08 | |
| int IsNativeAwaitableCompleted(long nativeAwaitable) | PrivateStatic | 0x08 | |
| void .ctor() | Private+1 flags | 0x00 | |
| Awaitable NewManagedAwaitable() | Static+1 flags | 0x08 | |
| Awaitable FromNativeAwaitableHandle(long nativeHandle, const CancellationToken& cancellationToken) | PrivateStatic | 0x08 | |
| void WireupCancellation(Awaitable awaitable, const CancellationToken& cancellationToken) | PrivateStatic | 0x08 | |
| bool MatchCompletionThreadAffinity(const AwaiterCompletionThreadAffinity& awaiterCompletionThreadAffinity) | PrivateStatic | 0x04 | |
| void RaiseManagedCompletion(Exception exception) | 1 flags | 0x08 | |
| void RunOrScheduleContinuation(const AwaiterCompletionThreadAffinity& awaiterCompletionThreadAffinity, Action continuation) | Private | 0x08 | |
| void DoRunContinuationOnSynchonizationContext(object continuation) | PrivateStatic | 0x08 | |
| void RaiseManagedCompletion() | 1 flags | 0x00 | |
| void PropagateExceptionAndRelease() | 1 flags | 0x00 | |
| void Cancel() | Public | 0x00 | |
| bool get_IsCompletedNoLock() | Private+1 flags | 0x01 | |
| bool get_IsLogicallyCompletedNoLock() | Private+1 flags | 0x01 | |
| bool get_IsCompleted() | Public+1 flags | 0x01 | |
| bool get_IsDettachedOrCompleted() | 2 flags | 0x01 | |
| AwaitableHandle CheckPointerValidity() | Private | 0x08 | |
| void SetContinuation(Action continuation) | 1 flags | 0x08 | |
| bool System.Collections.IEnumerator.MoveNext() | PrivateFinal+2 flags | 0x01 | |
| void System.Collections.IEnumerator.Reset() | PrivateFinal+2 flags | 0x00 | |
| object System.Collections.IEnumerator.get_Current() | PrivateFinal+3 flags | 0x08 | |
| void ThrowIfNotMainThread() | PrivateStatic | 0x00 | |
| Awaitable NextFrameAsync(const CancellationToken& cancellationToken) | PublicStatic | 0x08 | |
| Awaitable WaitForSecondsAsync(float seconds, const CancellationToken& cancellationToken) | PublicStatic | 0x08 | |
| Awaitable EndOfFrameAsync(const CancellationToken& cancellationToken) | PublicStatic | 0x08 | |
| void EnsureDelayedCallWiredUp() | PrivateStatic | 0x00 | |
| void OnDelayedCallManagerCleared() | PrivateStatic | 0x00 | |
| void OnUpdate() | PrivateStatic | 0x00 | |
| void OnEndOfFrame() | PrivateStatic | 0x00 | |
| long WaitForScondsInternal(float seconds) | PrivateStatic | 0x08 | |
| void WireupNextFrameAndEndOfFrameCallbacks() | PrivateStatic | 0x00 | |
| void SetSynchronizationContext(UnitySynchronizationContext synchronizationContext) | Static+1 flags | 0x08 | |
| void .cctor() | PrivateStatic+1 flags | 0x00 |
Used by 27
types with a member, parameter or interface of this type<>c<>c__DisplayClass4_0Action`1ArraySortHelper`1Awaitable[]AwaitableAndFrameIndexAwaitableAsyncMethodBuilderAwaitableCompletionSourceAwaiterComparison`1DoubleBufferedAwaitableListEnumeratorFunc`1ICollection`1IComparer`1IEnumerator`1IList`1InputNavigationManagerIObjectPool`1IReadOnlyList`1List`1ObjectPool`1PooledObject`1Predicate`1ReadOnlyCollection`1RemoveMouseSelectedVisualVersusChooserSwapBinder