6 references to LF
Microsoft.Extensions.AI.OpenAI (6)
src\Shared\ServerSentEvents\SseParser_1.cs (6)
137_newlineIndex = _lineBuffer.AsSpan(searchOffset, searchLength).IndexOfAny(CR, LF); 142if (_lineBuffer[_newlineIndex] is LF || // the newline is LF 217_newlineIndex = _lineBuffer.AsSpan(searchOffset, searchLength).IndexOfAny(CR, LF); 222if (_lineBuffer[_newlineIndex] is LF || // newline is LF 394(remainder[0] is LF || (remainder[0] is CR && remainder.Length > 1))) 416_dataBuffer[_dataLength++] = LF;