Home All Groups Group Topic Archive Search About

profiler callback on delegate classes

Author
22 Jun 2006 6:08 AM
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.

Author
22 Jun 2006 4:22 PM
Mattias Sjögren
>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

--
Mattias Sjögren [C# MVP]  mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.

AddThis Social Bookmark Button