private static List<string/*!*/>/*!*/ GetMemberNames(CodeContext/*!*/ context, PythonType/*!*/ pt, object value) { List names = pt.GetMemberNames(context, value); List<string> strNames = new List<string>(); foreach (object o in names) { string s = o as string; if (s != null) { strNames.Add(s); } } return strNames; }