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

Unsupported mixed array initializer #1374

Open
siegfriedpammer opened this issue Jan 3, 2019 · 0 comments
Open

Unsupported mixed array initializer #1374

siegfriedpammer opened this issue Jan 3, 2019 · 0 comments
Labels
C# Decompiler The decompiler engine itself Enhancement Areas for improvement

Comments

@siegfriedpammer
Copy link
Member

siegfriedpammer commented Jan 3, 2019

static int a = 5;

int[] test = new int[] { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, int.MaxValue, int.MinValue, a };

is currently not recognized. Seems that Roslyn uses both, the InitializeArray pattern and manual assignments in this case.

@siegfriedpammer siegfriedpammer added Decompiler The decompiler engine itself C# labels Jan 3, 2019
@siegfriedpammer siegfriedpammer added this to the v4.1 milestone Jan 16, 2019
@siegfriedpammer siegfriedpammer added the Enhancement Areas for improvement label Aug 6, 2019
@siegfriedpammer siegfriedpammer removed this from the v5.0-preview4 milestone Aug 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C# Decompiler The decompiler engine itself Enhancement Areas for improvement
Projects
None yet
Development

No branches or pull requests

1 participant