5 writes to _position
Microsoft.Build.Framework (5)
Utilities\MessageParser.cs (5)
211
_position
++;
220
_position
++;
238
_position
+= 7; // Stop on the ':'; the caller steps past it.
266
_position
++;
279
_position
++;
29 references to _position
Microsoft.Build.Framework (29)
Utilities\MessageParser.cs (29)
203
=>
_position
< _text.Length
204
? _text.Substring(
_position
)
209
while (
_position
< _text.Length && char.IsWhiteSpace(_text[
_position
]))
217
Assumed.LessThan(
_position
, _text.Length);
218
Assumed.Equal(_text[
_position
], c);
225
if (_text.Length <
_position
+ 8 ||
226
_text[
_position
] is not 'M' ||
227
_text[
_position
+ 1] is not 'S' ||
228
_text[
_position
+ 2] is not 'B' ||
229
!char.IsAsciiDigit(_text[
_position
+ 3]) ||
230
!char.IsAsciiDigit(_text[
_position
+ 4]) ||
231
!char.IsAsciiDigit(_text[
_position
+ 5]) ||
232
!char.IsAsciiDigit(_text[
_position
+ 6]) ||
233
_text[
_position
+ 7] is not ':')
245
int start =
_position
;
253
code = _text.Substring(start,
_position
- start);
262
int codeStart =
_position
;
264
while (
_position
< _text.Length && char.IsAsciiLetter(_text[
_position
]))
270
if (
_position
== codeStart)
275
int digitStart =
_position
;
277
while (
_position
< _text.Length && char.IsAsciiDigit(_text[
_position
]))
283
if (
_position
== digitStart)
289
return
_position
< _text.Length && _text[
_position
] is ':';
294
int start =
_position
;
302
code = _text.Substring(start,
_position
- start);