profiler callback on delegate classes

  • Thread starter Thread starter Dov Tendler
  • Start date Start date
D

Dov Tendler

Hello,
Is there a way to get from the CLR
ICorProfilerCallback::JITCompilationStarted() on delegate class methods
- Invoke(), BeginInvoke(), EndInvoke()?
I need it for instrumentation techniques.
I saw that these methods have runtime attribute. Does it mean that the
CLR generates this code dynamically during runtime and hence the
profiler won't get the above callback?

Thanks, Dubi.
 
I saw that these methods have runtime attribute. Does it mean that the
CLR generates this code dynamically during runtime and hence the
profiler won't get the above callback?

Yes


Mattias
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top