IronPython.Runtime.Binding.MetaPythonFunction.MakeCallSignatureRule C# (CSharp) Method

MakeCallSignatureRule() private static method

private static MakeCallSignatureRule ( DynamicMetaObject self ) : DynamicMetaObject
self DynamicMetaObject
return DynamicMetaObject
        private static DynamicMetaObject/*!*/ MakeCallSignatureRule(DynamicMetaObject self) {
            return new DynamicMetaObject(
                Ast.Call(
                    typeof(PythonOps).GetMethod("GetFunctionSignature"),
                    AstUtils.Convert(
                        self.Expression,
                        typeof(PythonFunction)
                    )
                ),
                BindingRestrictionsHelpers.GetRuntimeTypeRestriction(self.Expression, typeof(PythonFunction))
            );
        }