diff --git a/Assets/Mirror/Runtime/NetworkReader.cs b/Assets/Mirror/Runtime/NetworkReader.cs index a6e773a8d..86eeef479 100644 --- a/Assets/Mirror/Runtime/NetworkReader.cs +++ b/Assets/Mirror/Runtime/NetworkReader.cs @@ -175,10 +175,8 @@ public ArraySegment ReadBytesSegment(int count) } [MethodImpl(MethodImplOptions.AggressiveInlining)] - public override string ToString() - { - return $"NetworkReader pos={Position} len={Length} buffer={BitConverter.ToString(buffer.Array, buffer.Offset, buffer.Count)}"; - } + public override string ToString() => + $"NetworkReader pos={Position} len={Length} buffer={BitConverter.ToString(buffer.Array, buffer.Offset, buffer.Count)}"; /// Reads any data type that mirror supports. Uses weaver populated Reader(T).read [MethodImpl(MethodImplOptions.AggressiveInlining)]