This bug was fixed in the Babel 7.2.0.0!
using System;
using System.Reflection;
namespace BabelTest {
class Program {
static void Main(string[] args) {
Console.ReadLine();
}
}
public interface ITest1 {
void SameMethod();
}
[Obfuscation(Feature = "renaming")]
public interface ITest2 {
void SameMethod(); // This should not be renamed
void OriginalMethod();
}
}
<XmlRules>
<Rules targetAssembly="BabelTest, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
<Rule name="Internalize renamed symbols" feature="renaming" exclude="false">
<Pattern>*</Pattern>
<Properties>
<Internalize>true</Internalize>
</Properties>
</Rule>
</Rules>
</XmlRules>
- ITest2#SameMethod has been renamed too