예제 #1
0
 internal void Undo()
 {
     SynchronizationContext.SetSynchronizationContext(m_sc);
     ExecutionContext.Restore(m_ec);
 }
예제 #2
0
파일: Thread.cs 프로젝트: shana/mono
		internal void RestoreExecutionContext (ref ExecutionContext.Switcher switcher)
		{
			if (switcher.IsEmpty) {
				_ec = null;
				return;
			}

			switcher.Restore (_ec);
		}