System\Data\SQLTypes\SQLBytes.cs (13)
195ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(offset, Length);
289ArgumentOutOfRangeException.ThrowIfGreaterThan(offset, Length);
304ArgumentOutOfRangeException.ThrowIfGreaterThan(offset, Length);
307ArgumentOutOfRangeException.ThrowIfGreaterThan(offsetInBuffer, Length);
326int count = Math.Min(buffer.Length, (int)(Length - offset));
565writer.WriteString(Convert.ToBase64String(value, 0, (int)(Length)));
661return _sb.Length;
676ArgumentOutOfRangeException.ThrowIfGreaterThan(value, _sb.Length);
695ArgumentOutOfRangeException.ThrowIfGreaterThan(offset, _sb.Length);
702ArgumentOutOfRangeException.ThrowIfGreaterThan(lPosition, _sb.Length, nameof(offset));
707lPosition = _sb.Length + offset;
709ArgumentOutOfRangeException.ThrowIfGreaterThan(lPosition, _sb.Length, nameof(offset));
773if (_lPosition >= _sb.Length)