10 references to IsWaitNotificationEnabled
System.Private.CoreLib (10)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (8)
763
if (
IsWaitNotificationEnabled
&& ShouldNotifyDebuggerOfWaitCompletion)
780
task.
IsWaitNotificationEnabled
&&
812
bool isWaitNotificationEnabled =
IsWaitNotificationEnabled
;
832
Debug.Assert(
IsWaitNotificationEnabled
, "Should only be called if the wait completion bit is set.");
5008
if (task.
IsWaitNotificationEnabled
) AddToList(task, ref notificationTasks, initSize: 1);
5027
if (task.
IsWaitNotificationEnabled
) AddToList(task, ref notificationTasks, initSize: 1);
6088
if (completedTask.
IsWaitNotificationEnabled
)
6449
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);