From f150f12239065284b9fae54cd5c385a72f79e36e Mon Sep 17 00:00:00 2001 From: Akeit0 <90429982+Akeit0@users.noreply.github.com> Date: Wed, 25 Jun 2025 21:30:27 +0900 Subject: [PATCH] change: update class visibility from public to internal in BomUtility and LuaPlatformUtility --- src/Lua/CodeAnalysis/Compilation/BomUtility.cs | 2 +- src/Lua/Standard/Internal/LuaPlatformUtility.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Lua/CodeAnalysis/Compilation/BomUtility.cs b/src/Lua/CodeAnalysis/Compilation/BomUtility.cs index 58ae3720..d80dd4d4 100644 --- a/src/Lua/CodeAnalysis/Compilation/BomUtility.cs +++ b/src/Lua/CodeAnalysis/Compilation/BomUtility.cs @@ -2,7 +2,7 @@ namespace Lua.CodeAnalysis.Compilation; -public static class BomUtility +internal static class BomUtility { static ReadOnlySpan BomUtf8 => [0xEF, 0xBB, 0xBF]; static ReadOnlySpan BomUtf16Little => [0xFF, 0xFE]; diff --git a/src/Lua/Standard/Internal/LuaPlatformUtility.cs b/src/Lua/Standard/Internal/LuaPlatformUtility.cs index b310c8d4..1c3365af 100644 --- a/src/Lua/Standard/Internal/LuaPlatformUtility.cs +++ b/src/Lua/Standard/Internal/LuaPlatformUtility.cs @@ -1,6 +1,6 @@ namespace Lua.Standard.Internal; -public class LuaPlatformUtility +internal class LuaPlatformUtility { public static bool IsSandBox => SupportStdio; public static bool SupportStdio => _supportStdioTryLazy.Value;