3 writes to _index
Microsoft.AspNetCore.Routing (3)
Patterns\RoutePatternParser.cs (3)
488
_index
= -1;
511
return --
_index
>= 0;
521
return ++
_index
< _template.Length;
13 references to _index
Microsoft.AspNetCore.Routing (13)
Patterns\RoutePatternParser.cs (13)
493
get { return (
_index
< _template.Length &&
_index
>= 0) ? _template[
_index
] : (char)0; }
496
public int Index =>
_index
;
516
return
_index
>= _template.Length;
526
Debug.Assert(
_index
>= 0);
529
_mark =
_index
;
536
var value = _template.Substring(_mark.Value,
_index
- _mark.Value);
548
if (
_index
== -1)
556
_template.Substring(_mark.Value,
_index
- _mark.Value) +
558
_template.Substring(
_index
);
562
return string.Concat(_template.Substring(0,
_index
), "|", _template.Substring(
_index
));