KvanTTT / CSharp-Minifier

Library for C# code minification based on NRefactory. That is lib for spaces, line breaks, comments removing, reduction of identifiers name length and so on in C# code.
Apache License 2.0
41 stars 21 forks source link

Crash on same method with <Type> modifier. #38

Open theCalcaholic opened 7 years ago

theCalcaholic commented 7 years ago

If I have two methods with the same signature except for a Type modifier, the minifier will crash with a SystemArgumentException (see stacktrace).

Example: class ABC {

  public void Test<String>() {
  }

  public void Test() {
  }

}

EDIT: This also happens if the methods have different Type modifiers (e.g. \<int> and \<String>).