4 references to ThreadSafeContextCopy
System (4)
net\System\Net\_ContextAwareResult.cs (4)
126
_Flags |= StateFlags.
ThreadSafeContextCopy
;
189
GlobalLog.Assert(!InternalPeekCompleted || (_Flags & StateFlags.
ThreadSafeContextCopy
) != 0, "ContextAwareResult#{0}::Identity|Called on completed result.", ValidationHelper.HashString(this));
211
GlobalLog.Assert(!InternalPeekCompleted || (_Flags & StateFlags.
ThreadSafeContextCopy
) != 0, "ContextAwareResult#{0}::Identity|Result became completed during call.", ValidationHelper.HashString(this));
461
ExecutionContext.Run((_Flags & StateFlags.
ThreadSafeContextCopy
) != 0 ? context.CreateCopy() : context,