3 writes to hasPendingWrite
System.Runtime.Serialization (3)
System\Xml\XmlStreamNodeWriter.cs (3)
167
if (Interlocked.CompareExchange(ref this.
hasPendingWrite
, 1, 0) != 0)
189
if (Interlocked.CompareExchange(ref this.
hasPendingWrite
, 0, 1) != 1)
210
if (Interlocked.CompareExchange(ref thisPtr.
hasPendingWrite
, 0, 1) != 1)