I can’t figure how to add custom attribute to a method using Mono.Cecil
The attributes that I would want to add is like this :
.custom instance void [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::.ctor() = ( 01 00 00 00 )
Does anyone know how to add custom attributes
It’s actually very easy.