From 2f1a4bcc187499ae4ca5a3124f1a736e84f234f8 Mon Sep 17 00:00:00 2001 From: neuecc Date: Tue, 5 Nov 2019 17:51:06 +0900 Subject: [PATCH] don't use expression body for unity --- src/MessagePack/MessagePackBinary.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/MessagePack/MessagePackBinary.cs b/src/MessagePack/MessagePackBinary.cs index 5e5813be3..813842716 100644 --- a/src/MessagePack/MessagePackBinary.cs +++ b/src/MessagePack/MessagePackBinary.cs @@ -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. /// - internal static void ThrowNotEnoughBytesException() => throw new EndOfStreamException(); + internal static void ThrowNotEnoughBytesException() + { + throw new EndOfStreamException(); + } } // Stream Overload