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
| kozar...@gmail.com
Sent by: mono-...@googlegroups.com 07/05/2011 07:23 PM
| ||||||||
|
--
--
mono-cecil
*************************************************************************
This message and any attachments (the "message") are confidential, intended solely for the addressee(s), and may contain legally privileged information.
Any unauthorised use or dissemination is prohibited. E-mails are susceptible to alteration.
Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or
falsified.
************
Ce message et toutes les pieces jointes (ci-apres le "message") sont confidentiels et susceptibles de contenir des informations couvertes
par le secret professionnel.
Ce message est etabli a l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisee est interdite.
Tout message electronique est susceptible d'alteration.
La SOCIETE GENERALE et ses filiales declinent toute responsabilite au titre de ce message s'il a ete altere, deforme ou falsifie.
*************************************************************************
--
--
mono-cecil
************************************************************************* --
--
mono-cecil