IronPython.Runtime.Binding.SlotOrFunction.ShouldWarn C# (CSharp) Method

ShouldWarn() public method

public ShouldWarn ( PythonContext context, WarningInfo &info ) : bool
context PythonContext
info WarningInfo
return bool
        public bool ShouldWarn(PythonContext context, out WarningInfo info) {
            if (_function != null) {
                return BindingWarnings.ShouldWarn(context, _function.Overload, out info);
            }

            info = null;
            return false;
        }