Hey guys,
I want to generate (the code for) an interface with a property and depending on the property type, I want to add the attributes [return: MarshalAs(...)] on getter and [param:MarshalAs(...)] on setter.
I have the source file and I parse it but I don't know how can I add these specific nodes to AST in order to regenerate the source code.
Regards,
Eusebiu