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
There are many places where we are doing the following: PayloadHelper.GetTypeId():
if (type == typeof(int)) { return new[] { Convert.ToByte('i') }; } if (type == typeof(long)) { return new[] { Convert.ToByte('g') }; } ..
Use C#'s pattern matching instead if applicable.
The text was updated successfully, but these errors were encountered:
Use pattern matching in PayloadHelper.cs to improve readability
1a059d5
Improves the readability using c# pattern matching fixes dotnet#25
Successfully merging a pull request may close this issue.
There are many places where we are doing the following:
PayloadHelper.GetTypeId():
Use C#'s pattern matching instead if applicable.
The text was updated successfully, but these errors were encountered: