public static bool ShouldWriteInParentheses(this ITranslation translation) { return((translation.NodeType == ExpressionType.Conditional) || translation.IsBinary() || translation.IsAssignment() || CastTranslation.IsCast(translation.NodeType)); }
public static bool ShouldWriteInParentheses(this ITranslation translation) { return((translation.NodeType == ExpressionType.Conditional) || translation.IsBinary() || translation.IsAssignment() || CastTranslation.IsCast(translation.NodeType)); }