selective class member renaming with ObfuscationAttribute
Posted: Sat Dec 16, 2023 1:39 pm
Currently, the "Strip the debug information" option is a global setting that disables the renaming function. While we have numerous classes in our assembly, we only intend to rename the members of a select few.
When "Strip the debug information" is disabled, the [Obfuscation(Exclude = false, Feature = "renaming")] attribute doesn't function as intended. Is it possible to enable this attribute selectively for specific classes without enabling "Strip the debug information" and adding hundreds of [Obfuscation(Exclude = true, Feature = "renaming")] attributes?
When "Strip the debug information" is disabled, the [Obfuscation(Exclude = false, Feature = "renaming")] attribute doesn't function as intended. Is it possible to enable this attribute selectively for specific classes without enabling "Strip the debug information" and adding hundreds of [Obfuscation(Exclude = true, Feature = "renaming")] attributes?