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