icsharpcode/ILSpy

Pointer arithmetic compound assignments

Open

#947 opened on Oct 30, 2017

View on GitHub
 (2 comments) (0 reactions) (0 assignees)C# (3,645 forks)batch import
C#DecompilerEnhancementHelp Wanted

Repository metrics

Stars
 (25,162 stars)
PR merge metrics
 (Avg merge 15d 22h) (61 merged PRs in 30d)

Description

We don't support code like this:

someStruct.PointerField += i;
int* x = someStruct.PointerField++;

I'm not sure if it's worth adding support for these constructs -- these are two quite complex features interacting with each other; and such code is quite rare.

Contributor guide