7 writes to xmlnsOffset
System.Runtime.Serialization (7)
System\Xml\XmlC14NWriter.cs (7)
79xmlnsOffset = 0; 92xmlnsOffset = xmlnsStartOffset; 180xmlnsOffset = scopes[depth].xmlnsOffset; 388xmlnsOffset += xmlnsAttribute.prefixLength; 391xmlnsOffset += xmlnsAttribute.nsLength; 427xmlnsOffset += prefixLength; 431xmlnsOffset += nsLength;
13 references to xmlnsOffset
System.Runtime.Serialization (13)
System\Xml\XmlC14NWriter.cs (13)
83xmlnsStartOffset = xmlnsOffset; 169scopes[depth].xmlnsOffset = xmlnsOffset; 364else if (xmlnsOffset + byteCount > xmlnsBuffer.Length) 366byte[] newBuffer = new byte[Math.Max(xmlnsOffset + byteCount, xmlnsBuffer.Length * 2)]; 367Buffer.BlockCopy(xmlnsBuffer, 0, newBuffer, 0, xmlnsOffset); 386xmlnsAttribute.prefixOffset = xmlnsOffset; 387xmlnsAttribute.prefixLength = Encoding.UTF8.GetBytes(prefix, 0, prefix.Length, xmlnsBuffer, xmlnsOffset); 389xmlnsAttribute.nsOffset = xmlnsOffset; 390xmlnsAttribute.nsLength = Encoding.UTF8.GetBytes(ns, 0, ns.Length, xmlnsBuffer, xmlnsOffset); 424xmlnsAttribute.prefixOffset = xmlnsOffset; 426Buffer.BlockCopy(prefixBuffer, prefixOffset, xmlnsBuffer, xmlnsOffset, prefixLength); 428xmlnsAttribute.nsOffset = xmlnsOffset; 430Buffer.BlockCopy(nsBuffer, nsOffset, xmlnsBuffer, xmlnsOffset, nsLength);