1 write to _Lock
System (1)
net\System\Net\_ContextAwareResult.cs (1)
250
_Lock
= lockCapture ? new object() : null;
5 references to _Lock
System (5)
net\System\Net\_ContextAwareResult.cs (5)
167
GlobalLog.Assert(
_Lock
!= null, "ContextAwareResult#{0}::ContextCopy|Must lock (StartPostingAsyncOp()) { ... FinishPostingAsyncOp(); } when calling ContextCopy (unless it's only called after FinishPostingAsyncOp).", ValidationHelper.HashString(this));
168
lock (
_Lock
) { }
207
GlobalLog.Assert(
_Lock
!= null, "ContextAwareResult#{0}::Identity|Must lock (StartPostingAsyncOp()) { ... FinishPostingAsyncOp(); } when calling Identity (unless it's only called after FinishPostingAsyncOp).", ValidationHelper.HashString(this));
208
lock (
_Lock
) { }
252
return
_Lock
;