8 references to Legacy
System.Web (8)
UI\Page.cs (3)
5723
if (SynchronizationContextUtil.CurrentMode == SynchronizationContextMode.
Legacy
) {
5992
if (SynchronizationContextUtil.CurrentMode == SynchronizationContextMode.
Legacy
) {
6118
if (SynchronizationContextUtil.CurrentMode == SynchronizationContextMode.
Legacy
) {
UI\PageAsyncTask.cs (1)
39
SynchronizationContextUtil.ValidateMode(currentMode, requiredMode: SynchronizationContextMode.
Legacy
, specificErrorMessage: SR.SynchronizationContextUtil_PageAsyncTaskTimeoutHandlerParallelNotCompatible);
UI\WebControls\ModelDataSourceView.cs (1)
320
if (!(_owner.DataControl.Page.IsAsync && SynchronizationContextUtil.CurrentMode != SynchronizationContextMode.
Legacy
)) {
Util\SynchronizationContextUtil.cs (3)
15
return (!AppSettings.UseTaskFriendlySynchronizationContext) ? SynchronizationContextMode.
Legacy
: SynchronizationContextMode.Normal;
29
else if (HttpRuntime.TargetFramework >= VersionUtil.Framework45 && requiredMode == SynchronizationContextMode.
Legacy
) {
54
requiredMode: SynchronizationContextMode.
Legacy
,