10 references to IsWaitNotificationEnabled
System.Private.CoreLib (10)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (8)
765
if (
IsWaitNotificationEnabled
&& ShouldNotifyDebuggerOfWaitCompletion)
782
task.
IsWaitNotificationEnabled
&&
814
bool isWaitNotificationEnabled =
IsWaitNotificationEnabled
;
833
Debug.Assert(
IsWaitNotificationEnabled
, "Should only be called if the wait completion bit is set.");
4964
if (task.
IsWaitNotificationEnabled
) AddToList(task, ref notificationTasks, initSize: 1);
4983
if (task.
IsWaitNotificationEnabled
) AddToList(task, ref notificationTasks, initSize: 1);
6038
if (completedTask.
IsWaitNotificationEnabled
)
6397
if (task.
IsWaitNotificationEnabled
) this.SetNotificationForWaitCompletion(enabled: true);
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs (2)
1570
if (completingTask.
IsWaitNotificationEnabled
) this.SetNotificationForWaitCompletion(enabled: true);
1640
if (completingTask.
IsWaitNotificationEnabled
) this.SetNotificationForWaitCompletion(enabled: true);