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