System\Xml\XmlC14NWriter.cs (22)
193element.prefixOffset = elementWriter.Position + 1;
194element.prefixLength = Encoding.UTF8.GetByteCount(prefix);
195element.localNameOffset = element.prefixOffset + element.prefixLength + (element.prefixLength != 0 ? 1 : 0);
196element.localNameLength = Encoding.UTF8.GetByteCount(localName);
242element.prefixOffset = elementWriter.Position + 1;
243element.prefixLength = prefixLength;
244element.localNameOffset = element.prefixOffset + prefixLength + (prefixLength != 0 ? 1 : 0);
245element.localNameLength = localNameLength;
288writer.WriteStartElement(elementBuffer, element.prefixOffset, element.prefixLength, elementBuffer, element.localNameOffset, element.localNameLength);
341writer.WriteEndElement(elementBuffer, element.prefixOffset, element.prefixLength, elementBuffer, element.localNameOffset, element.localNameLength);
865ResolvePrefix(element.prefixOffset, element.prefixLength, out nsOffset, out nsLength);