public static List /*!*/ Get__all__ <T>(CodeContext /*!*/ context) { Debug.Assert(typeof(T).IsSealed() && typeof(T).IsAbstract(), "__all__ should only be produced for static members"); PythonType pt = DynamicHelpers.GetPythonTypeFromType(typeof(T)); List names = new List(); foreach (string name in pt.GetMemberNames(context)) { object res; if (IsStaticTypeMemberInAll(context, pt, name, out res)) { names.AddNoLock(name); } } return(names); }