3 writes to _buffer
Microsoft.CodeAnalysis (3)
Text\LargeTextWriter.cs (3)
141
Array.Resize(ref
_buffer
, _currentUsed);
145
_buffer
= null;
154
_buffer
= new char[_bufferSize];
15 references to _buffer
Microsoft.CodeAnalysis (15)
Text\LargeTextWriter.cs (15)
44
return
_buffer
!= null && chars <= (
_buffer
.Length - _currentUsed);
49
if (
_buffer
!= null && _currentUsed <
_buffer
.Length)
51
_buffer
[_currentUsed] = value;
71
var remaining =
_buffer
!.Length - _currentUsed;
74
value.CopyTo(index,
_buffer
, _currentUsed, copy);
80
if (_currentUsed ==
_buffer
.Length)
104
var remaining =
_buffer
!.Length - _currentUsed;
107
Array.Copy(chars, index,
_buffer
, _currentUsed, copy);
112
if (_currentUsed ==
_buffer
.Length)
137
if (
_buffer
!= null && _currentUsed > 0)
139
if (_currentUsed <
_buffer
.Length)
144
_chunks.Add(
_buffer
);
152
if (
_buffer
== null)