IronPython.Runtime.Method.IPythonMembersList C# (CSharp) Method

IPythonMembersList() private method

private IPythonMembersList ( CodeContext context ) : IList
context CodeContext
return IList
        IList<object> IPythonMembersList.GetMemberNames(CodeContext/*!*/ context) {
            List ret = TypeCache.Method.GetMemberNames(context);

            ret.AddNoLockNoDups("__module__");

            PythonFunction pf = _func as PythonFunction;
            if (pf != null) {
                PythonDictionary dict = pf.func_dict;
                
                // Check the func
                foreach (KeyValuePair<object, object> kvp in dict) {
                    ret.AddNoLockNoDups(kvp.Key);
                }                
            }

            return ret;
        }