From afbc2fcaac3164a5c58f1bfd32b6049ed5c98b65 Mon Sep 17 00:00:00 2001 From: Mikhail <99481254+DCFApixels@users.noreply.github.com> Date: Mon, 29 Apr 2024 21:43:27 +0800 Subject: [PATCH] fix --- src/Consts.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Consts.cs b/src/Consts.cs index 8333916..5740fdd 100644 --- a/src/Consts.cs +++ b/src/Consts.cs @@ -81,14 +81,14 @@ namespace Unity.IL2CPP.CompilerServices { using System; - public enum Option + internal enum Option { NullChecks = 1, ArrayBoundsChecks = 2, DivideByZeroChecks = 3, } [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Struct | AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Delegate, Inherited = false, AllowMultiple = true)] - public class Il2CppSetOptionAttribute : Attribute + internal class Il2CppSetOptionAttribute : Attribute { public Option Option { get; private set; } public object Value { get; private set; }