Created
August 5, 2020 13:47
-
-
Save controlflow/9201dd165f13ca0cba22c6dec76fe290 to your computer and use it in GitHub Desktop.
This file contains 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 (declaredElement is ITypeElement && !(declaredElement is IDelegate)) | |
return false; | |
if (declaredElement is IFunction && !(declaredElement is IMethod) || declaredElement is ILabel || declaredElement is INamespace) | |
return false; |
This file contains 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 (declaredElement is ITypeElement and not IDelegate) | |
return false; | |
if (declaredElement is (IFunction and not IMethod) or ILabel or INamespace) | |
return false; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment