1 write to attribute
System.Runtime.Serialization (1)
System\Xml\XmlC14NWriter.cs (1)
494AddAttribute(ref attribute);
24 references to attribute
System.Runtime.Serialization (24)
System\Xml\XmlC14NWriter.cs (24)
443attribute.offset = elementWriter.Position; 444attribute.length = 0; 445attribute.prefixOffset = attribute.offset + 1; // WriteStartAttribute emits a space 446attribute.prefixLength = Encoding.UTF8.GetByteCount(prefix); 447attribute.localNameOffset = attribute.prefixOffset + attribute.prefixLength + (attribute.prefixLength != 0 ? 1 : 0); 448attribute.localNameLength = Encoding.UTF8.GetByteCount(localName); 449attribute.nsOffset = 0; 450attribute.nsLength = 0; 478attribute.offset = elementWriter.Position; 479attribute.length = 0; 480attribute.prefixOffset = attribute.offset + 1; // WriteStartAttribute emits a space 481attribute.prefixLength = prefixLength; 482attribute.localNameOffset = attribute.prefixOffset + prefixLength + (prefixLength != 0 ? 1 : 0); 483attribute.localNameLength = localNameLength; 484attribute.nsOffset = 0; 485attribute.nsLength = 0; 493attribute.length = elementWriter.Position - attribute.offset;