5 writes to _lastSearchedForNewline
Microsoft.Extensions.AI.OpenAI (5)
src\Shared\ServerSentEvents\SseParser_1.cs (5)
140_lastSearchedForNewline = -1; 163_lastSearchedForNewline = _lineOffset + _lineLength; 220_lastSearchedForNewline = -1; 243_lastSearchedForNewline = searchOffset + searchLength; 316_lastSearchedForNewline -= _lineOffset;
4 references to _lastSearchedForNewline
Microsoft.Extensions.AI.OpenAI (4)
src\Shared\ServerSentEvents\SseParser_1.cs (4)
271if (_lastSearchedForNewline > _lineOffset) 273searchOffset = _lastSearchedForNewline; 274searchLength = _lineLength - (_lastSearchedForNewline - _lineOffset); 314if (_lastSearchedForNewline >= 0)