System.Diagnostics.SwitchAttribute.GetAllRecursive C# (CSharp) Method

GetAllRecursive() static private method

static private GetAllRecursive ( MemberInfo member, List switchAttribs ) : void
member System.Reflection.MemberInfo
switchAttribs List
return void
        static void GetAllRecursive(MemberInfo member, List<object> switchAttribs)
        {
            object[] attribs = member.GetCustomAttributes(typeof(SwitchAttribute), false);
            switchAttribs.AddRange(attribs);
        }
    }

Same methods

SwitchAttribute::GetAllRecursive ( Type type, List switchAttribs ) : void