1 write to _buffer
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\BufferedProgress.cs (1)
35
_buffer
= underlyingProgress == null ? ArrayBuilder<T>.GetInstance() : null;
6 references to _buffer
Microsoft.CodeAnalysis.LanguageServer.Protocol (6)
Handler\BufferedProgress.cs (6)
22
/// If <see langword="null"/> then <see cref="
_buffer
"/> will be non null and will contain all the produced values.
39
=>
_buffer
?.Free();
49
if (
_buffer
!= null)
51
lock (
_buffer
)
53
_buffer
.Add(value);
64
=>
_buffer
?.ToArray();