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