Exemplo n.º 1
0
        //-----------------------------------------------------------------------------------------------------------------------------------------------------

        private void FindAnonymousMethods(ClassType classType, List <MethodMember> foundMethods)
        {
            classType.ForEachMember <MethodMember>(foundMethods.Add, predicate: m => m.IsAnonymous);

            foreach (var nestedClass in classType.GetNestedClasses())
            {
                FindAnonymousMethods(nestedClass, foundMethods);
            }
        }
Exemplo n.º 2
0
        //-----------------------------------------------------------------------------------------------------------------------------------------------------

        internal void VisitClass(ClassType classType, DecoratingClassWriter classWriter)
        {
            OnClass(classType, classWriter);
            classType.ForEachMember <MemberBase>(VisitMember);
        }