Open theCalcaholic opened 7 years ago
Removal of the ToString()
method is an option:
If it's false, ToString()
implementations in types should be preserved.
It's also an option in the GUI application:
When I un-check it, your example gets minified to:
class a{public override string ToString(){return "my test class";}}
On classes which override the method
ToString()
inherited fromobject
, this method gets removed completely. This might also be the case for other methods inherited fromobject
(but I didn't test this).Example:
results in:
class a{}