2 writes to Offset
Microsoft.Extensions.Primitives (2)
35 references to Offset
Microsoft.AspNetCore.Components (1)
Microsoft.AspNetCore.Http.Abstractions (1)
Microsoft.AspNetCore.Mvc.Abstractions (2)
Microsoft.AspNetCore.Mvc.Core (8)
Microsoft.AspNetCore.Mvc.TagHelpers (7)
Microsoft.AspNetCore.Routing (4)
Microsoft.Extensions.Primitives (12)
StringSegment.cs (10)
82public string? Value => HasValue ? Buffer.Substring(Offset, Length) : null;
109return Buffer[Offset + index];
117public ReadOnlySpan<char> AsSpan() => Buffer.AsSpan(Offset, Length);
136return Buffer.AsSpan(Offset + start, Length - start);
158return Buffer.AsSpan(Offset + start, length);
165public ReadOnlyMemory<char> AsMemory() => Buffer.AsMemory(Offset, Length);
405return Buffer.Substring(Offset + offset, length);
438return new StringSegment(Buffer, Offset + offset, length);
533index = Buffer.IndexOfAny(anyOf, Offset + startIndex, count);
536index -= Offset;