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.
(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.