Skip to content

Commit f4a133e

Browse files
ITikhonovITikhonov
authored andcommitted
fix order
1 parent c096d29 commit f4a133e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/StackExchange.Redis/RedisValue.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@ public static implicit operator RedisValue(ReadOnlySequence<byte> value)
703703
var length = checked((int)value.Length);
704704
var pos = value.Start;
705705
var segment = pos.GetObject() ?? throw new InvalidOperationException("StartSegment is null");
706-
return new((ReadOnlySequenceSegment<byte>)segment, length, pos.GetInteger());
706+
return new((ReadOnlySequenceSegment<byte>)segment, pos.GetInteger(), length);
707707
}
708708

709709
/// <summary>

0 commit comments

Comments
 (0)