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);