diff --git a/GFramework.Game.Abstractions/GlobalUsings.cs b/GFramework.Game.Abstractions/GlobalUsings.cs index 4d27181..deaf08d 100644 --- a/GFramework.Game.Abstractions/GlobalUsings.cs +++ b/GFramework.Game.Abstractions/GlobalUsings.cs @@ -15,4 +15,18 @@ global using System; global using System.Collections.Generic; global using System.Linq; global using System.Threading; -global using System.Threading.Tasks; \ No newline at end of file +global using System.Threading.Tasks; +#if NETSTANDARD2_0 || NETFRAMEWORK || NETCOREAPP2_0 +using System.ComponentModel; + +namespace System.Runtime.CompilerServices +{ + /// + /// 用于标记仅初始化 setter 的特殊类型 + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public static class IsExternalInit + { + } +} +#endif \ No newline at end of file