Hello All,
I am facing a problem while using Mono.Cecil.
I have the below code in my program,
private void CurrentDomainUnhandledException(object sender,
UnhandledExceptionEventArgs args)
{
String.Format("Unhandled AppDomain exception", args);
}
I am facing a problem in reading the type of args using Mono.Cecil
It is giving me information about "Unhandled AppDomain exception" argument
and its type as string and the Operand is also not null, but for the second
argument "args", it is showing it as ldloc or ldarg.2 and
instruction.Operand is showing as null. I want to retrieve the Operand for
"args".
My requirement is , i want to read the type of the "args" argument, in this
example, it is "UnhandledExceptionEventArgs".
Please help me.
Thanx in Advance.
Regards
Rumpa Maji
--
View this message in context:
http://mono.1490590.n4.nabble.com/Reading-the-type-the-second-argument-passed-to-String-Format-string-s-object-obj-method-using-Mono-cl-tp3645549p3645549.html
Sent from the Mono - Cecil mailing list archive at Nabble.com.
--
--
mono-cecil