1 write to _attribute
System.Private.DataContractSerialization (1)
System\Xml\XmlCanonicalWriter.cs (1)
466AddAttribute(ref _attribute);
24 references to _attribute
System.Private.DataContractSerialization (24)
System\Xml\XmlCanonicalWriter.cs (24)
421_attribute.offset = _elementWriter.Position; 422_attribute.length = 0; 423_attribute.prefixOffset = _attribute.offset + 1; // WriteStartAttribute emits a space 424_attribute.prefixLength = Encoding.UTF8.GetByteCount(prefix); 425_attribute.localNameOffset = _attribute.prefixOffset + _attribute.prefixLength + (_attribute.prefixLength != 0 ? 1 : 0); 426_attribute.localNameLength = Encoding.UTF8.GetByteCount(localName); 427_attribute.nsOffset = 0; 428_attribute.nsLength = 0; 450_attribute.offset = _elementWriter.Position; 451_attribute.length = 0; 452_attribute.prefixOffset = _attribute.offset + 1; // WriteStartAttribute emits a space 453_attribute.prefixLength = prefixLength; 454_attribute.localNameOffset = _attribute.prefixOffset + prefixLength + (prefixLength != 0 ? 1 : 0); 455_attribute.localNameLength = localNameLength; 456_attribute.nsOffset = 0; 457_attribute.nsLength = 0; 465_attribute.length = _elementWriter.Position - _attribute.offset;