Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=81244 --- shadow/81244 2007-03-27 12:11:24.000000000 -0500 +++ shadow/81244.tmp.24725 2007-03-27 12:11:24.000000000 -0500 @@ -0,0 +1,38 @@ +Bug#: 81244 +Product: Mono: Class Libraries +Version: unspecified +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Wishlist +Component: Mono.Cecil +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: Add convenience-function ReturnParameterInstructions + +Ive got a feature request for Cecil ;) + +Id like to have a function that delivers the last IL-Instructions that +are used as parameters for a given method call. + +Example: Ive got a MethodBody body containing the instructions + +Now Id like a function: public Instruction[] ReturnParameterInstructions +(Instruction callInstruction) + +if the callInstruction would be a call to a function with (int, String, +String) Parameters the ReturnParameterInstructions would return an Array +containing the three instructions that were the (first/) last +Instructions to modifiy that value + +Rationale: +Cecil is often used to analyze existing class libraries. The described +function would be useful for analyzing the behaviour of libraries. It +would especially allow for an easy way to determine if a function gets +called with constant/static parameters.
_______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
