1 write to _path
Microsoft.AspNetCore.Routing (1)
PathTokenizer.cs (1)
24
_path
= path.Value;
12 references to _path
Microsoft.AspNetCore.Routing (12)
PathTokenizer.cs (12)
35
if (
_path
.Length == 0)
43
if (
_path
.Length == 1)
47
Debug.Assert(
_path
[0] == '/');
58
for (var i = 1; i <
_path
.Length - 1; i++)
60
if (
_path
[i] == '/')
82
while ((delimiterIndex =
_path
.IndexOf('/', delimiterIndex)) != -1)
86
return new StringSegment(
_path
, currentSegmentStart, delimiterIndex - currentSegmentStart);
97
Debug.Assert(
_path
[
_path
.Length - 1] != '/');
100
return new StringSegment(
_path
, currentSegmentStart,
_path
.Length - currentSegmentStart);
128
_path = tokenizer.
_path
;