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
 
Back
Top