10 references to IsWaitNotificationEnabled
System.Private.CoreLib (10)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (8)
911
if (
IsWaitNotificationEnabled
&& ShouldNotifyDebuggerOfWaitCompletion)
928
task.
IsWaitNotificationEnabled
&&
960
bool isWaitNotificationEnabled =
IsWaitNotificationEnabled
;
980
Debug.Assert(
IsWaitNotificationEnabled
, "Should only be called if the wait completion bit is set.");
5172
if (task.
IsWaitNotificationEnabled
) AddToList(task, ref notificationTasks, initSize: 1);
5193
if (task.
IsWaitNotificationEnabled
) AddToList(task, ref notificationTasks, initSize: 1);
6273
if (completedTask.
IsWaitNotificationEnabled
)
6634
if (task.
IsWaitNotificationEnabled
) this.SetNotificationForWaitCompletion(enabled: true);
src\runtime\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);