2 writes to prefixLength
System.Private.DataContractSerialization (2)
System\Xml\XmlCanonicalWriter.cs (2)
371xmlnsAttribute.prefixLength = Encoding.UTF8.GetBytes(prefix, 0, prefix.Length, _xmlnsBuffer, _xmlnsOffset); 404xmlnsAttribute.prefixLength = prefixLength;
9 references to prefixLength
System.Private.DataContractSerialization (9)
System\Xml\XmlCanonicalWriter.cs (9)
252if (_inclusivePrefixes[i].Length == xmlnsAttribute.prefixLength) 254if (string.Equals(Encoding.UTF8.GetString(_xmlnsBuffer!, xmlnsAttribute.prefixOffset, xmlnsAttribute.prefixLength), _inclusivePrefixes[i], StringComparison.Ordinal)) 280if (Equals(_xmlnsBuffer, _xmlnsAttributes![i].prefixOffset, _xmlnsAttributes[i].prefixLength, _xmlnsBuffer, _xmlnsAttributes[j].prefixOffset, _xmlnsAttributes[j].prefixLength)) 372_xmlnsOffset += xmlnsAttribute.prefixLength; 624_writer.WriteXmlnsAttribute(_xmlnsBuffer, xmlnsAttribute.prefixOffset, xmlnsAttribute.prefixLength, _xmlnsBuffer, xmlnsAttribute.nsOffset, xmlnsAttribute.nsLength); 747_xmlnsBuffer!, _xmlnsAttributes![j].prefixOffset, _xmlnsAttributes[j].prefixLength)) 800xmlnsAttribute1.prefixOffset, xmlnsAttribute1.prefixLength, 801xmlnsAttribute2.prefixOffset, xmlnsAttribute2.prefixLength);