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