6 references to Normal
System.Web (6)
UI\Page.cs (1)
6150
if (SynchronizationContextUtil.CurrentMode == SynchronizationContextMode.
Normal
) {
UI\PageAsyncTask.cs (1)
65
SynchronizationContextUtil.ValidateMode(currentMode, requiredMode: SynchronizationContextMode.
Normal
, specificErrorMessage: SR.SynchronizationContextUtil_TaskReturningPageAsyncMethodsNotCompatible);
Util\SynchronizationContextUtil.cs (4)
15
return (!AppSettings.UseTaskFriendlySynchronizationContext) ? SynchronizationContextMode.Legacy : SynchronizationContextMode.
Normal
;
25
if (HttpRuntime.TargetFramework < VersionUtil.Framework45 && requiredMode == SynchronizationContextMode.
Normal
) {
61
requiredMode: SynchronizationContextMode.
Normal
,
68
requiredMode: SynchronizationContextMode.
Normal
,