Skip to content

Commit

Permalink
don't use expression body for unity
Browse files Browse the repository at this point in the history
  • Loading branch information
neuecc committed Nov 5, 2019
1 parent fcaeeba commit 2f1a4bc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/MessagePack/MessagePackBinary.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2347,7 +2347,10 @@ public static DateTime ReadDateTime(byte[] bytes, int offset, out int readSize)
/// Throws an exception indicating that there aren't enough bytes remaining in the buffer to store
/// the promised data.
/// </summary>
internal static void ThrowNotEnoughBytesException() => throw new EndOfStreamException();
internal static void ThrowNotEnoughBytesException()
{
throw new EndOfStreamException();
}
}

// Stream Overload
Expand Down

0 comments on commit 2f1a4bc

Please sign in to comment.