icsharpcode/ILSpy

Pointer arithmetic compound assignments

Open

#947 opened on Oct 30, 2017

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

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