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