3 writes to VoidAsyncOutstandingOperationCount
System.Web (3)
AspNetSynchronizationContext.cs (3)
104
Interlocked.Decrement(ref _state.
VoidAsyncOutstandingOperationCount
); // this line goes first since ChangeOperationCount might invoke a callback which depends on this value
117
Interlocked.Increment(ref _state.
VoidAsyncOutstandingOperationCount
);
151
if (!AllowAsyncDuringSyncStages && Volatile.Read(ref _state.
VoidAsyncOutstandingOperationCount
) > 0) {