Posted September 21, 201410 yr How do I set a method as a setter using Dnlib?setm.IsSetter = true; // set the method as setter (using Mono.Cecil)Mono.Cecil declaration on MethodDefinition:public bool get_IsSetter(){ return this.GetSemantics((MethodSemanticsAttributes.None | MethodSemanticsAttributes.Setter));}Where are these on Dnlib?
September 21, 201410 yr Author Oho! After checking it seems dnlib automatically adds MethodSemantics table!So problem is solved!
Create an account or sign in to comment