diff --git a/BeefLibs/corlib/src/Attribute.bf b/BeefLibs/corlib/src/Attribute.bf index ffa71bcb..5f5d5495 100644 --- a/BeefLibs/corlib/src/Attribute.bf +++ b/BeefLibs/corlib/src/Attribute.bf @@ -66,6 +66,15 @@ namespace System AlwaysIncludeTarget = 8 } + public enum AlwaysIncludeFlags + { + None, + Type = 1, + IncludeAllMethods = 2, + AssumeInstantiated = 4, + All = Type | IncludeAllMethods | AssumeInstantiated + } + public sealed struct AttributeUsageAttribute : Attribute { AttributeTargets mAttributeTarget = .All; @@ -102,6 +111,11 @@ namespace System get { return mReflectUser; } set mut { mReflectUser = value; } } + + public AlwaysIncludeFlags AlwaysIncludeUser + { + set {} + } } [AttributeUsage(.All)]