private void FixPlatformVersion()

in ILRepack/PlatformFixer.cs [216:228]


        private void FixPlatformVersion(CustomAttribute ca)
        {
            FixPlatformVersion(ca.Constructor);
            if (ca.HasConstructorArguments)
                foreach (CustomAttributeArgument caa in ca.ConstructorArguments)
                    FixPlatformVersion(caa);
            if (ca.HasFields)
                foreach (CustomAttributeNamedArgument cana in ca.Fields)
                    FixPlatformVersion(cana);
            if (ca.HasProperties)
                foreach (CustomAttributeNamedArgument cana in ca.Properties)
                    FixPlatformVersion(cana);
        }