Created
February 16, 2019 12:43
-
-
Save controlflow/00486f782b1667c5c02c344b890e6438 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
if (previousMember is IExpressionBodyOwnerDeclaration expressionBodyOwnerDeclaration) | |
{ | |
return expressionBodyOwnerDeclaration.ArrowClause?.Expression != null | |
&& expressionBodyOwnerDeclaration.Semicolon == null; | |
} | |
return false; |
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
if (previousMember is IExpressionBodyOwnerDeclaration { ArrowClause: { Expression: { } }, Semicolon: null }) | |
{ | |
return true; | |
} | |
return false; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment