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

Improve support for post-increment/decrement on pointers #2856

Merged

Conversation

ElektroKill
Copy link
Contributor

Link to issue(s) this covers:
#2620 (This PR only partially resolves this issue)

Problem

ILSpy did not properly handle post-increment and post-decrement on pointers for other pointer types than byte*

Solution

  • Extend pattern-matching logic to support more post-increment and post-decrement cases
  • Re-enabled a previously disabled test in CompoundAssignmentTest pretty test which tests this newly added behavior.

@dgrunwald dgrunwald merged commit 1e00940 into icsharpcode:master Dec 4, 2022
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