15 references to AddCompletionAction
System.Private.CoreLib (15)
src\libraries\System.Private.CoreLib\src\System\IO\Stream.cs (1)
679AddCompletionAction(this);
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (11)
2869source.AddCompletionAction(this); 3083AddCompletionAction(mres, addBeforeOthers: true); 5097task.AddCompletionAction(mres, addBeforeOthers: true); 6092task.AddCompletionAction(this); // simple completion action 6424else task.AddCompletionAction(this); // simple completion action 6649task1.AddCompletionAction(this); 6651task2.AddCompletionAction(this); 6972task.AddCompletionAction(waiter); 6999task.AddCompletionAction(waiter); 7425outerTask.AddCompletionAction(this); 7583task.AddCompletionAction(this);
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs (3)
1606else tasksCopy[i].AddCompletionAction(promise); // simple completion action 1676else tasksCopy[i].AddCompletionAction(promise); // simple completion action 2366task.AddCompletionAction(promise, addBeforeOthers: isSyncBlocking);