Skip to content

Commit f27bee2

Browse files
ITikhonovITikhonov
authored andcommitted
fix StartsWith
1 parent 8232a63 commit f27bee2

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
@@ -1430,7 +1430,7 @@ public bool StartsWith(RedisValue value)
14301430
if (otherType == StorageType.Sequence &&
14311431
(thisType == StorageType.MemoryManager || thisType == StorageType.ByteArray))
14321432
{
1433-
return value.RawSequence().StartsWith(RawSpan());
1433+
return RawSpan().StartsWith(value.RawSequence());
14341434
}
14351435
byte[]? arr0 = null, arr1 = null;
14361436
try

0 commit comments

Comments
 (0)