2 writes to nsLength
System.Private.DataContractSerialization (2)
System\Xml\XmlCanonicalWriter.cs (2)
374xmlnsAttribute.nsLength = Encoding.UTF8.GetBytes(ns, 0, ns.Length, _xmlnsBuffer, _xmlnsOffset); 408xmlnsAttribute.nsLength = nsLength;
5 references to nsLength
System.Private.DataContractSerialization (5)
System\Xml\XmlCanonicalWriter.cs (5)
283if (Equals(_xmlnsBuffer, _xmlnsAttributes[i].nsOffset, _xmlnsAttributes[i].nsLength, _xmlnsBuffer, _xmlnsAttributes[j].nsOffset, _xmlnsAttributes[j].nsLength)) 375_xmlnsOffset += xmlnsAttribute.nsLength; 624_writer.WriteXmlnsAttribute(_xmlnsBuffer, xmlnsAttribute.prefixOffset, xmlnsAttribute.prefixLength, _xmlnsBuffer, xmlnsAttribute.nsOffset, xmlnsAttribute.nsLength); 753nsLength = _xmlnsAttributes[j].nsLength;