Hi
I am trying to insert a method call whereever a function call is made and
call this function inside the newly inserted method call in assembly
for example if i have
class x
{
sum(1,2);
}
sum(int a, int b)
{
//some data
}
I am trying to call it in following way
class x
{
newMethod(1,2);
}
sum(int a, int b)
{
//somedata
}
newMethod(int a, int b)
{
sum(a,b);
}
I am able to insert a new method but when i am trying to pass parameter
type, newly inserted method gets the similar parameter type but it goes in
multiple times.
i made more changes and now its giving "{"Object reference not set to an
instance of an object."}"
--
--
--
mono-cecil
---
You received this message because you are subscribed to the Google Groups
"mono-cecil" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.