Skip to content

Instantly share code, notes, and snippets.

@sonicflare
Created January 10, 2016 18:31
Show Gist options
  • Save sonicflare/7400eeff30f49f80a56a to your computer and use it in GitHub Desktop.
Save sonicflare/7400eeff30f49f80a56a to your computer and use it in GitHub Desktop.
Left.Right.Right?
BinaryExpression left = (BinaryExpression)binaryExpression.Left;
BinaryExpression right = (BinaryExpression)binaryExpression.Right;
if (left.Left == right.Left)
{
this.Visit(left.Left);
if (not)
{
this.Out(" NOT ");
}
this.Out(" BETWEEN ");
this.Visit(left.Right);
this.Out(" AND ");
this.Visit(right.Right);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment