1 write to _elementWriter
System.Private.DataContractSerialization (1)
System\Xml\XmlCanonicalWriter.cs (1)
65_elementWriter ??= new XmlUTF8NodeWriter(s_isEscapedAttributeChar, s_isEscapedElementChar);
20 references to _elementWriter
System.Private.DataContractSerialization (20)
System\Xml\XmlCanonicalWriter.cs (20)
66_elementWriter.SetOutput(_elementStream, false, null); 114_elementWriter?.Close(); 183_element.prefixOffset = _elementWriter.Position + 1; 187_elementWriter.WriteStartElement(prefix, localName); 226_element.prefixOffset = _elementWriter.Position + 1; 230_elementWriter.WriteStartElement(prefixBuffer, prefixOffset, prefixLength, localNameBuffer, localNameOffset, localNameLength); 267_elementWriter.Flush(); 421_attribute.offset = _elementWriter.Position; 429_elementWriter.WriteStartAttribute(prefix, localName); 450_attribute.offset = _elementWriter.Position; 458_elementWriter.WriteStartAttribute(prefixBuffer, prefixOffset, prefixLength, localNameBuffer, localNameOffset, localNameLength); 464_elementWriter.WriteEndAttribute(); 465_attribute.length = _elementWriter.Position - _attribute.offset; 493_elementWriter.WriteEscapedText(value); 518_elementWriter.WriteEscapedText(chars, offset, count); 535_elementWriter.WriteEscapedText(chars, offset, count); 549_elementWriter.WriteText(ch); 569_elementWriter.WriteText(chars, offset, count); 585_elementWriter.WriteText(value); 606_elementWriter.WriteText(chars, offset, count);