21 references to bufferLength
dotnet-svcutil-lib (21)
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlStreamNodeWriter.cs (21)
28
_buffer = new byte[
bufferLength
];
90
DiagnosticUtility.DebugAssert(count >= 0 && count <=
bufferLength
, "");
92
if (bufferOffset + count <=
bufferLength
)
102
DiagnosticUtility.DebugAssert(offset + count <=
bufferLength
, "");
114
DiagnosticUtility.DebugAssert(count >= 0 && count <=
bufferLength
, "");
116
if (bufferOffset + count <=
bufferLength
)
126
DiagnosticUtility.DebugAssert(offset + count <=
bufferLength
, "");
137
DiagnosticUtility.DebugAssert(_offset + count <=
bufferLength
, "");
143
if (_offset >=
bufferLength
)
157
if (_offset >=
bufferLength
)
190
if (offset + 1 >=
bufferLength
)
202
if (_offset + 1 >=
bufferLength
)
235
if (byteCount <
bufferLength
)
258
while (byteCount >=
bufferLength
)
260
for (int i = 0; i <
bufferLength
; i++)
262
_stream.Write(buffer, 0,
bufferLength
);
263
bytes +=
bufferLength
;
264
byteCount -=
bufferLength
;
302
if (charCount <
bufferLength
)
340
const int charChunkSize =
bufferLength
/ maxBytesPerChar;
367
const int charChunkSize =
bufferLength
/ 2;