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] == '/');
56
_count =
_path
.AsSpan(0,
_path
.Length - 1).Count('/');
74
while ((delimiterIndex =
_path
.IndexOf('/', delimiterIndex)) != -1)
78
return new StringSegment(
_path
, currentSegmentStart, delimiterIndex - currentSegmentStart);
89
Debug.Assert(
_path
[
_path
.Length - 1] != '/');
92
return new StringSegment(
_path
, currentSegmentStart,
_path
.Length - currentSegmentStart);
120
_path = tokenizer.
_path
;