1 instantiation of ConcurrencyBehavior
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (1)
51
_concurrency = new
ConcurrencyBehavior
(dispatch);
20 references to ConcurrencyBehavior
dotnet-svcutil-lib (20)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannel.cs (6)
757
ConcurrencyBehavior
.UnlockInstanceBeforeCallout(OperationContext.Current);
778
ConcurrencyBehavior
.LockInstanceAfterCallout(OperationContext.Current);
1804
ConcurrencyBehavior
.UnlockInstanceBeforeCallout(_operationContext);
1823
ConcurrencyBehavior
.LockInstanceAfterCallout(_operationContext);
1880
ConcurrencyBehavior
.LockInstanceAfterCallout(_operationContext);
1903
ConcurrencyBehavior
.LockInstanceAfterCallout(result._operationContext);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ChannelHandler.cs (1)
94
_isConcurrent =
ConcurrencyBehavior
.IsConcurrent(channelDispatcher, _hasSession);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ConcurrencyBehavior.cs (12)
108
ConcurrencyBehavior
.UnlockInstance(rpc.InstanceContext);
116
ConcurrencyBehavior
.UnlockInstance(operationContext.InstanceContext);
228
private Queue<
ConcurrencyBehavior
.IWaiter> _calloutMessageQueue;
229
private Queue<
ConcurrencyBehavior
.IWaiter> _newMessageQueue;
240
private
ConcurrencyBehavior
.IWaiter DequeueFrom(Queue<
ConcurrencyBehavior
.IWaiter> queue)
242
ConcurrencyBehavior
.IWaiter waiter = queue.Dequeue();
252
internal
ConcurrencyBehavior
.IWaiter DequeueWaiter()
265
internal void EnqueueNewMessage(
ConcurrencyBehavior
.IWaiter waiter)
268
_newMessageQueue = new Queue<
ConcurrencyBehavior
.IWaiter>();
272
internal void EnqueueCalloutMessage(
ConcurrencyBehavior
.IWaiter waiter)
275
_calloutMessageQueue = new Queue<
ConcurrencyBehavior
.IWaiter>();
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (1)
22
readonly private
ConcurrencyBehavior
_concurrency;