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