10 references to IsWaitNotificationEnabled
System.Private.CoreLib (10)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (8)
840
if (
IsWaitNotificationEnabled
&& ShouldNotifyDebuggerOfWaitCompletion)
857
task.
IsWaitNotificationEnabled
&&
889
bool isWaitNotificationEnabled =
IsWaitNotificationEnabled
;
909
Debug.Assert(
IsWaitNotificationEnabled
, "Should only be called if the wait completion bit is set.");
5072
if (task.
IsWaitNotificationEnabled
) AddToList(task, ref notificationTasks, initSize: 1);
5093
if (task.
IsWaitNotificationEnabled
) AddToList(task, ref notificationTasks, initSize: 1);
6172
if (completedTask.
IsWaitNotificationEnabled
)
6533
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);