Esempio n. 1
0
        public static IEnumerable <IMemberDefinition> AllMembers(this ModuleDefinition module)
        {
            foreach (var type in module.AllDefinedTypes())
            {
                yield return(type);

                foreach (var member in type.AllMembers())
                {
                    yield return(member);
                }
            }
        }