Created
January 24, 2014 23:55
-
-
Save VladimirReshetnikov/8609345 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private static bool IsSimpleBinaryOperator(SyntaxKind kind) | |
| { | |
| switch (kind) | |
| { | |
| case SyntaxKind.AddExpression: | |
| case SyntaxKind.MultiplyExpression: | |
| case SyntaxKind.SubtractExpression: | |
| // ... more cases skipped ... | |
| case SyntaxKind.RightShiftExpression: | |
| return true; | |
| } | |
| return false; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment