Skip to content

hikoma/BabelTest

Repository files navigation

BabelTest

This bug was fixed in the Babel 7.2.0.0!

Code

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();
    }
}

Rule

      <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>

Output

  • ITest2#SameMethod has been renamed too

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages