public static DynamicMetaObjectBinder BinaryOperationBinder(PythonContext state, PythonOperationKind operatorName) { ExpressionType?et = GetExpressionTypeFromBinaryOperator(operatorName); if (et == null) { return(state.Operation( operatorName )); } return(state.BinaryOperation(et.Value)); }
public static DynamicMetaObjectBinder BinaryOperationBinder(PythonContext state, PythonOperationKind operatorName) { ExpressionType? et = GetExpressionTypeFromBinaryOperator(operatorName); if (et == null) { return state.Operation( operatorName ); } return state.BinaryOperation(et.Value); }