To repro, update the Main program to call a new method that has a function pointer as an argument (i.e. delegate*<SomeType, SomeOtherType> in C#).
The fix is in two spots: look for SignatureTypeCode.FunctionPointer in EcmaSignatureAnalyzer and EcmaSignatureRewriter. One has to extract all the types referenced from the method signature report a dependency on them. The other needs to mirror the function pointer structure and rewrite the tokens of the parameter types.
(Can be worked on after #33 is merged.)
To repro, update the Main program to call a new method that has a function pointer as an argument (i.e.
delegate*<SomeType, SomeOtherType>
in C#).The fix is in two spots: look for SignatureTypeCode.FunctionPointer in EcmaSignatureAnalyzer and EcmaSignatureRewriter. One has to extract all the types referenced from the method signature report a dependency on them. The other needs to mirror the function pointer structure and rewrite the tokens of the parameter types.