Claes Rådström <fake@msn.com> wrote:
> I vould like to be able to retrieve the parametervalues pass to a method in
> a generic way.
> Thru reflection or StackFrame.
> Is this possible ? if so how
>
> Any ideas ?
No, you can't do it I'm afraid - at least, not outside using special
debugging APIs which would presumably involve running the whole process
inside a CLR in debug mode.

Signature
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Eliahu Baker - 17 May 2004 11:11 GMT
Exactly. For now only profiling API does it via COM interfaces while envolving whole app to debug mode
Alicia Li - 17 May 2004 17:24 GMT
Right. It's not possible to use reflection or stackframe to retrieve method
call parameter values except default value. You can use
ParameterInfo.DefaultValue to get default value.
Thanks
Alicia