Hi,
I am able to get the Typedef name and Method name from IMetaDataImport class using GetTypeDefProps and GetMethodProps.
But it is not giving the correct way of representation.. Eg:
I am getting "ServerExecuteHttpHandlerAsyncWrapper:EndProcessRequest" by IMetaDataImport.
But what it should something like
"System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerAsyncWrapper:EndProcessRequest"
Likewise another example :
"<>c__DisplayClassb:<BeginProcessRequest>b__5" should be like "System.Web.Mvc.MvcHandler+<>c__DisplayClass6+<>c__DisplayClassb:<BeginProcessRequest>b__5"
So my questions are :
1.How should i get the method and typedef names ..?
2.I tried using stacktrace inside the helper function to get the method name .. But it caused more overhead..! Is this the correct way ?
Thanks,
./Selva
I am able to get the Typedef name and Method name from IMetaDataImport class using GetTypeDefProps and GetMethodProps.
But it is not giving the correct way of representation.. Eg:
I am getting "ServerExecuteHttpHandlerAsyncWrapper:EndProcessRequest" by IMetaDataImport.
But what it should something like
"System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerAsyncWrapper:EndProcessRequest"
Likewise another example :
"<>c__DisplayClassb:<BeginProcessRequest>b__5" should be like "System.Web.Mvc.MvcHandler+<>c__DisplayClass6+<>c__DisplayClassb:<BeginProcessRequest>b__5"
So my questions are :
1.How should i get the method and typedef names ..?
2.I tried using stacktrace inside the helper function to get the method name .. But it caused more overhead..! Is this the correct way ?
Thanks,
./Selva