From 09a5f1ac150cfbbf30141a3564f76e19ae4a7a3d Mon Sep 17 00:00:00 2001 From: Perfare Date: Thu, 14 Nov 2019 10:16:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=9B=B4=E5=A4=9AKnownAttrib?= =?UTF-8?q?utes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Il2CppDumper/DummyAssemblyCreator.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Il2CppDumper/DummyAssemblyCreator.cs b/Il2CppDumper/DummyAssemblyCreator.cs index b2a348e..22a0512 100644 --- a/Il2CppDumper/DummyAssemblyCreator.cs +++ b/Il2CppDumper/DummyAssemblyCreator.cs @@ -518,7 +518,21 @@ namespace Il2CppDumper { var attributeNames = new[] { + "System.Runtime.CompilerServices.CompilerGeneratedAttribute", + "System.Runtime.CompilerServices.ExtensionAttribute", + "System.Runtime.CompilerServices.NullableAttribute", + "System.Runtime.CompilerServices.NullableContextAttribute", "System.Runtime.CompilerServices.IsReadOnlyAttribute", //in关键字 + "System.Diagnostics.DebuggerHiddenAttribute", + "System.Diagnostics.DebuggerStepThroughAttribute", + // Type attributes: + "System.FlagsAttribute", + "System.Runtime.CompilerServices.IsByRefLikeAttribute", + // Field attributes: + "System.NonSerializedAttribute", + // Type parameter attributes: + "System.Runtime.CompilerServices.IsUnmanagedAttribute", + // Unity "UnityEngine.SerializeField" //MonoBehaviour的反序列化 }; foreach (var attributeName in attributeNames)