implements ITaskCompletionAction
0x00x0088
Members 9
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x01 | _isRead | bool | 2 flags | — | |
| 0x01 | _apm | bool | 2 flags | — | |
| 0x005A | 0x06 | padding / unreflected | |||
| 0x08 | _stream | Stream | 1 flags | — | |
| 0x08 | _buffer | byte[] | 1 flags | — | |
| 0x04 | _offset | int | 2 flags | — | |
| 0x04 | _count | int | 2 flags | — | |
| 0x08 | _callback | AsyncCallback | Private | — | |
| 0x08 | _context | ExecutionContext | Private | — | |
| 0x08 | s_invokeAsyncCallback | ContextCallback | PrivateStatic | — | |
Inherited from Task`1 2
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x04 | m_result | int | 1 flags | — | |
| 0x08 | s_defaultFactory | TaskFactory<System.Int32> | PrivateStatic | — |
Inherited from Task 22
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x04 | s_taskIdCounter | int | Static+1 flags | — | |
| 0x0004 | 0x0C | padding / unreflected | |||
| 0x04 | m_taskId | int | Private | — | |
| 0x0014 | 0x04 | padding / unreflected | |||
| 0x08 | m_action | Delegate | 1 flags | — | |
| 0x08 | m_stateObject | object | 1 flags | — | |
| 0x08 | m_taskScheduler | TaskScheduler | 1 flags | — | |
| 0x08 | m_parent | Task | 2 flags | — | |
| 0x04 | m_stateFlags | int | 1 flags | — | |
| 0x003C | 0x04 | padding / unreflected | |||
| 0x08 | m_continuationObject | object | Private | — | |
| 0x08 | s_taskCompletionSentinel | object | PrivateStatic+1 flags | — | |
| 0x01 | s_asyncDebuggingEnabled | bool | Static+1 flags | — | |
| 0x08 | m_contingentProperties | ContingentProperties | 1 flags | — | |
| 0x08 | s_taskCancelCallback | Action<System.Object> | PrivateStatic+1 flags | — | |
| — | 0x08 | t_currentTask | Task | Static+1 flags | — |
| — | 0x08 | t_stackGuard | StackGuard | PrivateStatic | — |
| 0x08 | s_createContingentProperties | Func<System.Threading.Tasks.Task.ContingentProperties> | PrivateStatic+1 flags | — | |
| 0x08 | <Factory>k__BackingField | TaskFactory | PrivateStatic+1 flags | — | |
| 0x08 | <CompletedTask>k__BackingField | Task | PrivateStatic+1 flags | — | |
| 0x08 | s_IsExceptionObservedByParentPredicate | Predicate<System.Threading.Tasks.Task> | PrivateStatic+1 flags | — | |
| 0x08 | s_ecCallback | ContextCallback | PrivateStatic | — | |
| 0x08 | s_IsTaskContinuationNullPredicate | Predicate<System.Object> | PrivateStatic+1 flags | — | |
| 0x08 | s_currentActiveTasks | Dictionary<System.Int32 | PrivateStatic+1 flags | — | |
| 0x08 | s_activeTasksLock | object | PrivateStatic+1 flags | — | |
Functions 5
| Signature | Flags | Native | Params |
|---|---|---|---|
| void ClearBeginState() | 1 flags | — | 0x00 |
| void .ctor(bool isRead, bool apm, Func<System.Object function, object state, Stream stream, const byte[]& buffer, int offset, int count, AsyncCallback callback) | Public+1 flags | — | 0x08 |
| void InvokeAsyncCallback(object completedTask) | PrivateStatic | 0x08 | |
| void System.Threading.Tasks.ITaskCompletionAction.Invoke(Task completingTask) | PrivateFinal+2 flags | 0x08 | |
| bool System.Threading.Tasks.ITaskCompletionAction.get_InvokeMayRunArbitraryCode() | PrivateFinal+3 flags | 0x01 |