From f6132267ddc273f151a37868dd5954dc5ee626e3 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Mon, 14 Sep 2020 15:15:56 -0700 Subject: [PATCH] Made .AllMembers default --- BeefLibs/corlib/src/Attribute.bf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/BeefLibs/corlib/src/Attribute.bf b/BeefLibs/corlib/src/Attribute.bf index deff018c..6cd01199 100644 --- a/BeefLibs/corlib/src/Attribute.bf +++ b/BeefLibs/corlib/src/Attribute.bf @@ -48,7 +48,8 @@ namespace System Methods = 0x40, DynamicBoxing = 0x80, //User = 0x100, // Internal Use - All = 0x7F, // Doesn't include dynamic boxing + AllMembers = 0x7F, + All = 0xFF, // Doesn't include dynamic boxing ApplyToInnerTypes = 0x200, } @@ -103,7 +104,7 @@ namespace System [AttributeUsage(.All)] public struct ReflectAttribute : Attribute { - public this(ReflectKind reflectKind = .All) + public this(ReflectKind reflectKind = .AllMembers) { } }