1 write to _buffer
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\BufferedProgress.cs (1)
36
_buffer
= underlyingProgress == null ? ArrayBuilder<T>.GetInstance() : null;
6 references to _buffer
Microsoft.CodeAnalysis.LanguageServer.Protocol (6)
Handler\BufferedProgress.cs (6)
23
/// If <see langword="null"/> then <see cref="
_buffer
"/> will be non null and will contain all the produced values.
40
=>
_buffer
?.Free();
50
if (
_buffer
!= null)
52
lock (
_buffer
)
54
_buffer
.Add(value);
65
=>
_buffer
?.ToArray();