We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It would great to support pattern matching, not sure how complex the implementation is, but for example having the following condition:
value == "match" || value == null
is much more readable with cs pattern matching
value is "match" or null
The text was updated successfully, but these errors were encountered:
Relevant documentation : https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/operators/patterns Relevant specifications : https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/language-specification/expressions#121212-the-is-operator
We can probably focus on the is operator, and ignore the switch statement and expression.
is
switch
Sorry, something went wrong.
No branches or pull requests
It would great to support pattern matching, not sure how complex the implementation is, but for example having the following condition:
is much more readable with cs pattern matching
The text was updated successfully, but these errors were encountered: