mirror of
https://github.com/Perfare/Il2CppDumper.git
synced 2025-01-26 10:43:02 -03:00
添加更多KnownAttributes
This commit is contained in:
parent
190a5c8f9d
commit
09a5f1ac15
1 changed files with 14 additions and 0 deletions
|
@ -518,7 +518,21 @@ namespace Il2CppDumper
|
||||||
{
|
{
|
||||||
var attributeNames = new[]
|
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.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的反序列化
|
"UnityEngine.SerializeField" //MonoBehaviour的反序列化
|
||||||
};
|
};
|
||||||
foreach (var attributeName in attributeNames)
|
foreach (var attributeName in attributeNames)
|
||||||
|
|
Loading…
Add table
Reference in a new issue