Created
July 12, 2020 14:42
-
-
Save controlflow/4dd1b7294f9e4c7529eda7d8fe1e908f 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
var parameter = parameterInstance.Element; | |
if (parameter.Kind != ParameterKind.VALUE | |
&& parameter.Kind != ParameterKind.REFERENCE) return; |
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
var parameter = parameterInstance.Element; | |
if (parameter.Kind is not (ParameterKind.VALUE or ParameterKind.REFERENCE)) return; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
if (x == 1 || x == 2) { }
if (x is 1 or 2) { }