Merge pull request #4126 from tamasvajk/feature/array-index

C#: Fix computed sizes for implicitly sized array creation
This commit is contained in:
Calum Grant
2020-08-28 11:21:39 +01:00
committed by GitHub
21 changed files with 559 additions and 378 deletions

View File

@@ -19,6 +19,8 @@ The following changes in version 1.26 affect C# analysis in all applications.
## Changes to code extraction
* Partial method bodies are extracted. Previously, partial method bodies were skipped completely.
* Inferring the lengths of implicitely sized arrays is fixed. Previously, multidimensional arrays were always extracted with the same length for
each dimension. With the fix, the array sizes `2` and `1` are extracted for `new int[,]{{1},{2}}`. Previously `2` and `2` were extracted.
## Changes to libraries