7 writes to _xmlnsOffset
System.Private.DataContractSerialization (7)
13 references to _xmlnsOffset
System.Private.DataContractSerialization (13)
System\Xml\XmlCanonicalWriter.cs (13)
75_xmlnsStartOffset = _xmlnsOffset;
160_scopes[_depth].xmlnsOffset = _xmlnsOffset;
348else if (_xmlnsOffset + byteCount > _xmlnsBuffer.Length)
350byte[] newBuffer = new byte[Math.Max(_xmlnsOffset + byteCount, _xmlnsBuffer.Length * 2)];
351Buffer.BlockCopy(_xmlnsBuffer, 0, newBuffer, 0, _xmlnsOffset);
370xmlnsAttribute.prefixOffset = _xmlnsOffset;
371xmlnsAttribute.prefixLength = Encoding.UTF8.GetBytes(prefix, 0, prefix.Length, _xmlnsBuffer, _xmlnsOffset);
373xmlnsAttribute.nsOffset = _xmlnsOffset;
374xmlnsAttribute.nsLength = Encoding.UTF8.GetBytes(ns, 0, ns.Length, _xmlnsBuffer, _xmlnsOffset);
403xmlnsAttribute.prefixOffset = _xmlnsOffset;
405Buffer.BlockCopy(prefixBuffer, prefixOffset, _xmlnsBuffer, _xmlnsOffset, prefixLength);
407xmlnsAttribute.nsOffset = _xmlnsOffset;
409Buffer.BlockCopy(nsBuffer, nsOffset, _xmlnsBuffer, _xmlnsOffset, nsLength);