Closed irreality-net closed 2 months ago
Perfect example. Thank you.
@irreality-net Are you sure you're using the newest nuget packages? Because your test doesn't fail for me.
Never mind, figured it out
Version 2.0.8 fixes this issue.
@malware-dev Tested on full project. Works perfect now. Thank you very much!
The problem occurs with two-levels of method overriding when overriding method of standard .NET class. The base class overrides "ToString()" method and also descendent class overrides it as well. In the descendent class the "ToString()" method is replaced with symbol by minifier.
Signatures of methods for base class before minification (omitted body for clarity):
Signatures of methods in descendent class:
Minified code in 'obj\intermediate-script.SymbolRenamer.cs' (also 'obj\intermediate-script.WhitespaceTrimmer.cs):
Base class (correct):
Descendent class (incorrect - the "ToString()" method is replaced by "ų()"):