1 write to s_asyncCurrentScope
System.ServiceModel.Primitives (1)
System\ServiceModel\OperationContextScope.cs (1)
15
s_asyncCurrentScope
= new AsyncLocal<OperationContextScope>();
4 references to s_asyncCurrentScope
System.ServiceModel.Primitives (4)
System\ServiceModel\OperationContextScope.cs (4)
25
private readonly OperationContextScope _originalScope = OperationContext.DisableAsyncFlow ? s_currentScope :
s_asyncCurrentScope
.Value;
55
s_asyncCurrentScope
.Value = this;
63
if ((OperationContext.DisableAsyncFlow ? s_currentScope :
s_asyncCurrentScope
.Value) != this)
79
s_asyncCurrentScope
.Value = _originalScope;