20 writes to _offset
Roslyn.Test.PdbUtilities (20)
Reader\Token2SourceLineExporter.cs (20)
75
_offset
= 0;
88
_offset
+= count;
94
set {
_offset
= value; }
104
_offset
= 0;
111
_offset
++;
122
_offset
+= 2;
131
_offset
+= 1;
143
_offset
+= 4;
159
_offset
+= 8;
169
_offset
+= 2;
178
_offset
+= 1;
190
_offset
+= 4;
206
_offset
+= 8;
229
bytes[i] = _buffer[
_offset
++];
236
_offset
+= 4;
243
_offset
+= 8;
258
_offset
+= len;
269
_offset
+= len + 1;
279
_offset
+= len + 1;
309
_offset
+= len + 2;
45 references to _offset
Roslyn.Test.PdbUtilities (45)
Reader\Token2SourceLineExporter.cs (45)
80
int newCapacity =
_offset
+ count;
87
stream.Read(_buffer,
_offset
, count);
93
get { return
_offset
; }
109
while ((
_offset
% alignment) != 0)
119
value = (short)((_buffer[
_offset
+ 0] & 0xFF) |
120
(_buffer[
_offset
+ 1] << 8));
129
value = (sbyte)_buffer[
_offset
];
138
value = (int)((_buffer[
_offset
+ 0] & 0xFF) |
139
(_buffer[
_offset
+ 1] << 8) |
140
(_buffer[
_offset
+ 2] << 16) |
141
(_buffer[
_offset
+ 3] << 24));
150
value = (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));
166
value = (ushort)((_buffer[
_offset
+ 0] & 0xFF) |
167
(_buffer[
_offset
+ 1] << 8));
176
value = (byte)((_buffer[
_offset
+ 0] & 0xFF));
185
value = (uint)((_buffer[
_offset
+ 0] & 0xFF) |
186
(_buffer[
_offset
+ 1] << 8) |
187
(_buffer[
_offset
+ 2] << 16) |
188
(_buffer[
_offset
+ 3] << 24));
197
value = (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));
235
float result = BitConverter.ToSingle(_buffer,
_offset
);
242
double result = BitConverter.ToDouble(_buffer,
_offset
);
257
value = Encoding.UTF8.GetString(_buffer,
_offset
, len);
264
while (
_offset
+ len < _buffer.Length && _buffer[
_offset
+ len] != 0)
268
value = Encoding.UTF8.GetString(_buffer,
_offset
, len);
275
while (
_offset
+ len < _buffer.Length && _buffer[
_offset
+ len] != 0)
304
while (
_offset
+ len < _buffer.Length && _buffer[
_offset
+ len] != 0)
308
string result = Encoding.Unicode.GetString(_buffer,
_offset
, len);