1 write to writer
System.Runtime.Serialization (1)
System\Xml\XmlBaseWriter.cs (1)
2489this.writer = writer;
28 references to writer
System.Runtime.Serialization (28)
System\Xml\XmlBaseWriter.cs (28)
2508if (this.writer.trailByteCount > 0) 2511while (this.writer.trailByteCount < 3 && this.count > 0) 2513this.writer.trailBytes[this.writer.trailByteCount++] = this.buffer[this.offset++]; 2518this.totalByteCount = this.writer.trailByteCount + this.count; 2521if (this.writer.trailBytes == null) 2523this.writer.trailBytes = new byte[3]; 2528if (this.writer.attributeValue != null) 2530this.writer.WriteAttributeText(XmlConverter.Base64Encoding.GetString(this.writer.trailBytes, 0, this.writer.trailByteCount)); 2531this.writer.WriteAttributeText(XmlConverter.Base64Encoding.GetString(this.buffer, this.offset, actualByteCount - this.writer.trailByteCount)); 2539Buffer.BlockCopy(this.buffer, this.offset, this.writer.trailBytes, this.writer.trailByteCount, this.count); 2540this.writer.trailByteCount += this.count; 2593if (!writer.isXmlnsAttribute) 2607this.writer.StartContent(); 2608this.nodeWriterArgs.TrailBuffer = this.writer.trailBytes; 2609this.nodeWriterArgs.TrailCount = this.writer.trailByteCount; 2612this.nodeWriterArgs.Count = this.actualByteCount - this.writer.trailByteCount; 2615if (this.writer.writer.WriteBase64TextAsync(this.nodeWriterAsyncState) != AsyncCompletionResult.Completed) 2623this.writer.EndContent(); 2626this.writer.trailByteCount = (this.totalByteCount - this.actualByteCount); 2627if (this.writer.trailByteCount > 0) 2629int trailOffset = offset + count - this.writer.trailByteCount; 2630for (int i = 0; i < this.writer.trailByteCount; i++) 2631this.writer.trailBytes[i] = this.buffer[trailOffset++];