3 writes to xmlnsBuffer
System.Runtime.Serialization (3)
System\Xml\XmlC14NWriter.cs (3)
135
xmlnsBuffer
= null;
362
xmlnsBuffer
= new byte[Math.Max(byteCount, 128)];
368
xmlnsBuffer
= newBuffer;
20 references to xmlnsBuffer
System.Runtime.Serialization (20)
System\Xml\XmlC14NWriter.cs (20)
132
if (
xmlnsBuffer
!= null &&
xmlnsBuffer
.Length > 1024)
271
if (String.Compare(Encoding.UTF8.GetString(
xmlnsBuffer
, xmlnsAttribute.prefixOffset, xmlnsAttribute.prefixLength), this.inclusivePrefixes[i], StringComparison.Ordinal) == 0)
296
if (Equals(
xmlnsBuffer
, xmlnsAttributes[i].prefixOffset, xmlnsAttributes[i].prefixLength,
xmlnsBuffer
, xmlnsAttributes[j].prefixOffset, xmlnsAttributes[j].prefixLength))
299
if (Equals(
xmlnsBuffer
, xmlnsAttributes[i].nsOffset, xmlnsAttributes[i].nsLength,
xmlnsBuffer
, xmlnsAttributes[j].nsOffset, xmlnsAttributes[j].nsLength))
360
if (
xmlnsBuffer
== null)
364
else if (xmlnsOffset + byteCount >
xmlnsBuffer
.Length)
366
byte[] newBuffer = new byte[Math.Max(xmlnsOffset + byteCount,
xmlnsBuffer
.Length * 2)];
367
Buffer.BlockCopy(
xmlnsBuffer
, 0, newBuffer, 0, xmlnsOffset);
387
xmlnsAttribute.prefixLength = Encoding.UTF8.GetBytes(prefix, 0, prefix.Length,
xmlnsBuffer
, xmlnsOffset);
390
xmlnsAttribute.nsLength = Encoding.UTF8.GetBytes(ns, 0, ns.Length,
xmlnsBuffer
, xmlnsOffset);
426
Buffer.BlockCopy(prefixBuffer, prefixOffset,
xmlnsBuffer
, xmlnsOffset, prefixLength);
430
Buffer.BlockCopy(nsBuffer, nsOffset,
xmlnsBuffer
, xmlnsOffset, nsLength);
696
writer.WriteXmlnsAttribute(
xmlnsBuffer
, xmlnsAttribute.prefixOffset, xmlnsAttribute.prefixLength,
xmlnsBuffer
, xmlnsAttribute.nsOffset, xmlnsAttribute.nsLength);
821
xmlnsBuffer
, xmlnsAttributes[j].prefixOffset, xmlnsAttributes[j].prefixLength))
875
return Compare(
xmlnsBuffer
,
882
int s = Compare(
xmlnsBuffer
,