13 references to CreateCopy
mscorlib (4)
system\threading\overlapped.cs (1)
129using (ExecutionContext executionContext = helper._executionContext.CreateCopy())
system\threading\Tasks\Task.cs (1)
1797return capturedContext.CreateCopy();
system\threading\threadpool.cs (1)
1337using (ExecutionContext executionContext = helper._executionContext.CreateCopy())
system\threading\timer.cs (1)
707m_executionContext.IsPreAllocatedDefault ? m_executionContext : m_executionContext.CreateCopy())
System (9)
net\System\Net\_ContextAwareResult.cs (4)
157return context.CreateCopy(); 177return context == null ? null : context.CreateCopy(); 399_Context = cachedContext.CreateCopy(); 461ExecutionContext.Run((_Flags & StateFlags.ThreadSafeContextCopy) != 0 ? context.CreateCopy() : context,
net\System\Net\_TLSstream.cs (1)
491ExecutionContext.Run(_ExecutionContext.CreateCopy(), new ContextCallback(CallProcessAuthentication), handshakeResult);
net\System\Net\NetworkInformation\NetworkAddressChange.cs (2)
122ExecutionContext.Run(context.CreateCopy(), s_RunHandlerCallback, handler); 224ExecutionContext.Run(context.CreateCopy(), s_runHandlerCallback, handler);
net\System\Net\Sockets\Socket.cs (1)
9046m_ContextCopy = m_Context.CreateCopy();
sys\system\threading\Barrier.cs (1)
794m_ownerThreadContext = m_ownerThreadContext.CreateCopy(); // create a copy for the next run