Skip to content
New issue

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

Fix FormatException in PlaceholderExpression #77

Merged

Conversation

Haselnussbomber
Copy link
Contributor

@Haselnussbomber Haselnussbomber commented Feb 9, 2024

I ran into a FormatException because the ExpressionType enum value is formatted using X02, which doesn't work.
Casting it to the underlying type (byte) fixes the exception.

See https://dotnetfiddle.net/OfVPzo

Also, I'd like to request a release after this PR. I would like to use the new enum values that pohky added. 🙂

@NotAdam NotAdam merged commit f621d8c into NotAdam:master Feb 12, 2024
2 checks passed
@Haselnussbomber Haselnussbomber deleted the fix-expressiontype-formatting branch February 12, 2024 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants