2 writes to _usePool
Microsoft.Extensions.AI.OpenAI (2)
src\Shared\ServerSentEvents\ArrayBuffer.cs (2)
43_usePool = usePool; 55_usePool = false;
4 references to _usePool
Microsoft.Extensions.AI.OpenAI (4)
src\Shared\ServerSentEvents\ArrayBuffer.cs (4)
78Debug.Assert(_usePool); 138Debug.Assert(_usePool && _activeStart == 0 && _availableStart == 0); 163byte[] newBytes = _usePool ? 191if (_usePool && buffer.Length > 0)