1 instantiation of SegmentAsValueType
Microsoft.AspNetCore.Server.Kestrel.Core (1)
src\Shared\Buffers\BufferSegmentStack.cs (1)
82
public static implicit operator SegmentAsValueType(BufferSegment s) => new
SegmentAsValueType
(s);
7 references to SegmentAsValueType
Microsoft.AspNetCore.Server.Kestrel.Core (7)
src\Shared\Buffers\BufferSegmentStack.cs (7)
12
private
SegmentAsValueType
[] _array;
17
_array = new
SegmentAsValueType
[size];
26
SegmentAsValueType
[] array = _array;
44
SegmentAsValueType
[] array = _array;
71
/// We use <see cref="
SegmentAsValueType
"/> as a wrapper to avoid paying the cost of covariant checks whenever
82
public static implicit operator
SegmentAsValueType
(BufferSegment s) => new SegmentAsValueType(s);
83
public static implicit operator BufferSegment(
SegmentAsValueType
s) => s._value;