1 write to Length
Microsoft.AspNetCore.Routing (1)
Matching\PathSegment.cs (1)
14
Length
= length;
15 references to Length
Microsoft.AspNetCore.Routing (15)
Matching\DfaMatcher.cs (3)
247
if (parameterName != null && segment.
Length
> 0)
251
path.Substring(segment.Start, segment.
Length
));
286
var text = path.AsSpan(segment.Start, segment.
Length
);
Matching\DictionaryJumpTable.cs (2)
31
if (segment.
Length
== 0)
36
var text = path.AsSpan(segment.Start, segment.
Length
);
Matching\ILEmitTrieJumpTable.cs (2)
83
if (segment.
Length
== 0)
88
var result = generated(path, segment.Start, segment.
Length
);
Matching\LinearSearchJumpTable.cs (2)
27
if (segment.
Length
== 0)
33
var pathSpan = path.AsSpan(segment.Start, segment.
Length
);
Matching\PathSegment.cs (3)
24
return Start == other.Start &&
Length
== other.
Length
;
34
return $"Segment({Start}:{
Length
})";
Matching\SingleEntryAsciiJumpTable.cs (1)
32
var length = segment.
Length
;
Matching\SingleEntryJumpTable.cs (1)
27
var length = segment.
Length
;
Matching\ZeroEntryJumpTable.cs (1)
19
return segment.
Length
== 0 ? _exitDestination : _defaultDestination;