11 writes to _gate
System.ServiceModel.Primitives (11)
Internals\System\Runtime\IOThreadScheduler.cs (11)
324int gateSnapshot = Interlocked.Increment(ref _gate); 330Interlocked.CompareExchange(ref _gate, 0, gateSnapshot); 342gateSnapshot = Interlocked.Add(ref _gate, Bits.LoHiBit); 357Interlocked.CompareExchange(ref _gate, 0, gateSnapshot) != gateSnapshot) 359gateSnapshot = Interlocked.Add(ref _gate, Bits.HiHiBit); 362Interlocked.CompareExchange(ref _gate, 0, gateSnapshot); 372int gateSnapshot = Interlocked.Add(ref _gate, Bits.HiOne); 396Interlocked.CompareExchange(ref _gate, 0, gateSnapshot) != gateSnapshot) 398gateSnapshot = Interlocked.Add(ref _gate, Bits.HiHiBit); 401Interlocked.CompareExchange(ref _gate, 0, gateSnapshot); 413Interlocked.CompareExchange(ref _gate, 0, gateSnapshot);
1 reference to _gate
System.ServiceModel.Primitives (1)
Internals\System\Runtime\IOThreadScheduler.cs (1)
421Contract.Assert(_gate == 0, "Finalized with unfinished slot.");