2024-01-07 02:41:10 +08:00
|
|
|
|
//using System;
|
|
|
|
|
//using System.Collections.Generic;
|
|
|
|
|
//using System.Diagnostics.CodeAnalysis;
|
|
|
|
|
//using System.IO;
|
|
|
|
|
//using System.Linq;
|
|
|
|
|
//using System.Text;
|
|
|
|
|
//using System.Threading.Tasks;
|
2023-11-14 23:16:59 +08:00
|
|
|
|
|
2024-01-07 02:41:10 +08:00
|
|
|
|
//namespace CodeWalker.Core.Utils
|
|
|
|
|
//{
|
|
|
|
|
// internal class ThrowHelper
|
|
|
|
|
// {
|
|
|
|
|
// internal static Exception CreateEndOfFileException() =>
|
|
|
|
|
// new EndOfStreamException("Tried to read stream beyond end");
|
2023-11-14 23:16:59 +08:00
|
|
|
|
|
2024-01-07 02:41:10 +08:00
|
|
|
|
// [DoesNotReturn]
|
|
|
|
|
// internal static void ThrowEndOfFileException()
|
|
|
|
|
// {
|
|
|
|
|
// throw CreateEndOfFileException();
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
//}
|