MichalStrehovsky / iltrim

MIT License
9 stars 1 forks source link

Add support for mult-dim array signatures #34

Closed MichalStrehovsky closed 2 years ago

MichalStrehovsky commented 2 years ago

(Can be worked on after #33 is merged.)

To repro, update the Main program to call a new method that has a multi-dimensional array of some otherwise unreferenced type.

The fix is in two spots: look for SignatureTypeCode.Array in EcmaSignatureAnalyzer and EcmaSignatureRewriter. One has to extract the element type and report a dependency on it. The other needs to mirror the MDArray structure and rewrite the token of the element.