public override SynchronizationContext CreateCopy() { #if DBG CreateCopyDumpStack(); #endif LegacyAspNetSynchronizationContext context = new LegacyAspNetSynchronizationContext(_application); context._disabled = _disabled; context._syncCaller = _syncCaller; context.AllowAsyncDuringSyncStages = AllowAsyncDuringSyncStages; return(context); }
public override SynchronizationContext CreateCopy() { #if DBG CreateCopyDumpStack(); #endif LegacyAspNetSynchronizationContext context = new LegacyAspNetSynchronizationContext(_application); context._disabled = _disabled; context._syncCaller = _syncCaller; context.AllowAsyncDuringSyncStages = AllowAsyncDuringSyncStages; return context; }