20 references to bufferLength
System.Runtime.Serialization (20)
System\Xml\XmlStreamNodeWriter.cs (20)
31
this.buffer = new byte[
bufferLength
];
86
Fx.Assert(count >= 0 && count <=
bufferLength
, "");
88
if (bufferOffset + count <=
bufferLength
)
111
Fx.Assert(count >= 0 && count <=
bufferLength
, String.Empty);
115
if (bufferOffset + count <=
bufferLength
)
230
Fx.Assert(count >= 0 && count <=
bufferLength
, "");
255
if (bufferOffset + count <=
bufferLength
)
304
Fx.Assert(offset + count <=
bufferLength
, "");
310
if (offset >=
bufferLength
)
332
if (offset + 1 >=
bufferLength
)
350
if (byteCount <
bufferLength
)
395
if (byteCount <
bufferLength
)
490
while (byteCount >
bufferLength
)
492
for (int i = 0; i <
bufferLength
; i++)
494
stream.Write(buffer, 0,
bufferLength
);
495
bytes +=
bufferLength
;
496
byteCount -=
bufferLength
;
534
if (charCount <
bufferLength
)
567
const int charChunkSize =
bufferLength
/ maxBytesPerChar;
591
const int charChunkSize =
bufferLength
/ 2;