3 writes to _buffer
Roslyn.Test.PdbUtilities (3)
Reader\Token2SourceLineExporter.cs (3)
62_buffer = new byte[capacity]; 85_buffer = newBuffer; 102_buffer = new byte[capacity];
49 references to _buffer
Roslyn.Test.PdbUtilities (49)
Reader\Token2SourceLineExporter.cs (49)
67get { return _buffer; } 74stream.Read(_buffer, 0, capacity); 81if (_buffer.Length < newCapacity) 84Array.Copy(_buffer, newBuffer, _buffer.Length); 87stream.Read(_buffer, _offset, count); 100if (_buffer.Length < capacity) 119value = (short)((_buffer[_offset + 0] & 0xFF) | 120(_buffer[_offset + 1] << 8)); 129value = (sbyte)_buffer[_offset]; 138value = (int)((_buffer[_offset + 0] & 0xFF) | 139(_buffer[_offset + 1] << 8) | 140(_buffer[_offset + 2] << 16) | 141(_buffer[_offset + 3] << 24)); 150value = (long)(((ulong)_buffer[_offset + 0] & 0xFF) | 151((ulong)_buffer[_offset + 1] << 8) | 152((ulong)_buffer[_offset + 2] << 16) | 153((ulong)_buffer[_offset + 3] << 24) | 154((ulong)_buffer[_offset + 4] << 32) | 155((ulong)_buffer[_offset + 5] << 40) | 156((ulong)_buffer[_offset + 6] << 48) | 157((ulong)_buffer[_offset + 7] << 56)); 166value = (ushort)((_buffer[_offset + 0] & 0xFF) | 167(_buffer[_offset + 1] << 8)); 176value = (byte)((_buffer[_offset + 0] & 0xFF)); 185value = (uint)((_buffer[_offset + 0] & 0xFF) | 186(_buffer[_offset + 1] << 8) | 187(_buffer[_offset + 2] << 16) | 188(_buffer[_offset + 3] << 24)); 197value = (ulong)(((ulong)_buffer[_offset + 0] & 0xFF) | 198((ulong)_buffer[_offset + 1] << 8) | 199((ulong)_buffer[_offset + 2] << 16) | 200((ulong)_buffer[_offset + 3] << 24) | 201((ulong)_buffer[_offset + 4] << 32) | 202((ulong)_buffer[_offset + 5] << 40) | 203((ulong)_buffer[_offset + 6] << 48) | 204((ulong)_buffer[_offset + 7] << 56)); 229bytes[i] = _buffer[_offset++]; 235float result = BitConverter.ToSingle(_buffer, _offset); 242double result = BitConverter.ToDouble(_buffer, _offset); 257value = Encoding.UTF8.GetString(_buffer, _offset, len); 264while (_offset + len < _buffer.Length && _buffer[_offset + len] != 0) 268value = Encoding.UTF8.GetString(_buffer, _offset, len); 275while (_offset + len < _buffer.Length && _buffer[_offset + len] != 0) 304while (_offset + len < _buffer.Length && _buffer[_offset + len] != 0) 308string result = Encoding.Unicode.GetString(_buffer, _offset, len);