I have a method definition that takes in a dynamic type as so:
public void Congo(dynamic lead, JObject music, params string[] members)
A RunTimeBinderException is thrown when called because of a mismatch between the call and definition from obfuscation.
I'm able to solve this by using the attribute [Obfuscation( Exclude = true )] above the method but this is undesired and is more of a band-aid.
I've also attempted using the pattern 'is-type' to exclude the dynamic type as shown here. This is without the [Obfuscation( Exclude = true )] above the method. I added this to my config:
Warning: I've read the open issue #316 and issue #203 and this might be a merge of the two.
I'm using Confuser.CLI with mono. I use .crproj to configure with the following rules:
I have a method definition that takes in a dynamic type as so:
A RunTimeBinderException is thrown when called because of a mismatch between the call and definition from obfuscation.
I'm able to solve this by using the attribute
[Obfuscation( Exclude = true )]
above the method but this is undesired and is more of a band-aid.I've also attempted using the pattern 'is-type' to exclude the dynamic type as shown here. This is without the
[Obfuscation( Exclude = true )]
above the method. I added this to my config:but the same exception was thrown indicating non action from the new rule or a different issue.